Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- floors = int(input())
- rooms = int(input())
- for i in range(floors,0,-1):
- for j in range(0,rooms):
- if i == floors:
- print("L{0}{1} ".format(i,j),end = "")
- elif i % 2 == 0:
- print("{O}{1} " .format(i,j),end = "")
- else:
- print(A"{0}{1}".format(i,j),end = "")
- # TODO: print according to floor number
- print("")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement