Contact Us:

670 Lafayette Ave, Brooklyn,
NY 11216

+1 800 966 4564
+1 800 9667 4558

def myList():
  list1 = ['⬜️', '⬜️', '⬜️']
  list2 = ['⬜️', '⬜️', '⬜️']
  list3 = ['⬜️', '⬜️', '⬜️']
  map = [list1, list2, list3]
  
  print(f"{list1}\n{list2}\n{list3}")
  inputds = input("\nChoose position:\n")
  vertical = int(inputds[0]) - 1
  horizontal = int(inputds[1]) - 1
  number = vertical+horizontal
  if number >= 0 and number <= 22:
    map[horizontal][vertical] = "x"
    print(f"{list1}\n{list2}\n{list3}")
  print("\nwant to play again?")
while True:
  myList()
0 0 votes
Article Rating

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x