<reponame>Jean-Bi/100DaysOfCodePython
# 🚨 Don't change the code below 👇
row1 = ["⬜️","⬜️","⬜️"]
row2 = ["⬜️","⬜️","⬜️"]
row3 = ["⬜️","⬜️","⬜️"]
map = [row1, row2, row3]
print(f"{row1}\n{row2}\n{row3}")
position = input("Where do you want to put the treasure? ")
# 🚨 Don't change the code above 👆

#Write your code below this row 👇

#Determines column and row using the input -> 1 is substracted as a list is 0-based index
column = int(position[0])-1
row = int(position[1])-1

#Change the cell to an "x"
map[row][column] = "x"

#Write your code above this row 👆

# 🚨 Don't change the code below 👇
print(f"{row1}\n{row2}\n{row3}")
# 🚨 Don't change the code below 👇
row1 = ["⬜️","⬜️","⬜️"]
row2 = ["⬜️","⬜️","⬜️"]
row3 = ["⬜️","⬜️","⬜️"]
map = [row1, row2, row3]
print(f"{row1}\n{row2}\n{row3}")
position = input("Where do you want to put the treasure? ")
# 🚨 Don't change the code above 👆

#Write your code below this row 👇

#Determines column and row using the input -> 1 is substracted as a list is 0-based index
column = int(position[0])-1
row = int(position[1])-1

#Change the cell to an "x"
map[row][column] = "x"

#Write your code above this row 👆

# 🚨 Don't change the code below 👇
print(f"{row1}\n{row2}\n{row3}")
# 🚨 Don't change the code below 👇 # 🚨 Don't change the code above 👆 #Write your code below this row 👇 #Determines column and row using the input -> 1 is substracted as a list is 0-based index #Change the cell to an "x" #Write your code above this row 👆 # 🚨 Don't change the code below 👇