Advertisement
Guest User

new

a guest
Oct 14th, 2022
586
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. import random
  2.  
  3. r = random.randint(1, 8)
  4. if r == 1or r == 2 or r == 3:
  5.     print("大吉")
  6. elif r == 4:
  7.     print("中吉")
  8. elif r == 5:
  9.     print("小吉")
  10. elif r == 6:
  11.     print("吉")
  12. elif r == 7:
  13.     print("末吉")
  14. elif r == 8:
  15.     print("凶")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement