Advertisement
skip420

DNA

Jan 18th, 2021
772
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.42 KB | None | 0 0
  1. x = input("Enter your blood type: ")
  2. if x == 'O':
  3.     for y in range(6):
  4.         print("O O O O O O")
  5. elif x == 'A':
  6.     for y in range(6):
  7.         print("A A A A A A")
  8. elif x == 'B':
  9.     for y in range(6):
  10.         print("B B B B B B")
  11. elif x == 'AB':
  12.     for y in range(3):
  13.         print("AB AB AB")
  14. elif x == 'A+':
  15.     for y in range(3):
  16.         print("A+ A+ A+")
  17. else:
  18.     print("N/A blood type! Are you alien?")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement