Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def lucky_test():
- num = eval(input('please enter any integer number: '))
- ans = num % 3
- if ans == 0:
- print("Bad Luck")
- elif ans == 1:
- print("Normal")
- else:
- print("Lucky")
- def start():
- print('1-baydin app')
- print('2-exit')
- choice = input('what is your choice? ')
- if choice == '1':
- lucky_test()
- start()
- else:
- print('exiting...')
- exit()
- # Start here
- start()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement