Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #B6529550_ยงวุฒิ พัฒนะคุณกนก_Group 2_#36
- import random
- def sumPID():
- global idnum
- idnum=random.randrange(1000000000000,9999999999999)
- print(f'Your personal ID is : {idnum}')
- def getFortune():
- fortune=random.randrange(0,99)
- print(f'The summation is {fortune}')
- if fortune%2==0:
- print('Your fortune is very good')
- else:
- print('Your fortune is good')
- sumPID()
- getFortune()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement