All numbers between 0 and 10000 of the PY practice do not contain multiples of 5,10,15,30,60

Source: Internet
Author: User

""""

#-*-coding:cp936-*-

def number ():

For x in range (1,5):

For y in range (1,5):

For z in range (1,5):

If X!=y and Y!=z and z!=x:

Print x, y

If X%2!=1 and Y%2!=1 and z%2!=1:

Print x, y

If __name__== ' __main__ ':

Number ()

"""

#0 to 10000 5 Span style= "font-family: the song Body;" >, 10 , 15 30 , 60 multiple

# when The number between 123 is displayed, the ASCII code ( now only lowercase )

T=[]

def num ():

For I in Range (1,3001):

If I%5==1 and I%15==1 and I%10==1 and I%30==1 and i%60==1:

Print I,

For I in Range (97,123):

Print Chr (i),

Print ord (Chr (i))

If __name__== ' __main__ ':

Num ()

All numbers between 0 and 10000 of the PY practice do not contain multiples of 5,10,15,30,60

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.