Samuel Vermeulen 1 month ago
parent
commit
87c30eed3a
  1. 11
      mine.py

11
mine.py

@ -1,14 +1,13 @@
nbDeplacements = int(input())
deplacement = [0] * nbDeplacements
aller = [0,1,2,3,4,5]
deplacement = [0] * (nbDeplacements+1)
#aller = [0,1,2,3,4,5]
retour = [0,2,1,3,5,4]
for loop in range(nbDeplacements):
#deplacement[loop] = int(input())
deplacement[loop] = retour[int(input())]
deplacement[loop + 1] = retour[int(input())]
print()
#print()
for loop in range(nbDeplacements):
print(deplacement[loop])
print(deplacement[-loop - 1])
Loading…
Cancel
Save