Untitled
unknown
plain_text
2 years ago
261 B
9
Indexable
number = int(input("masukkan nomor: "))
seat_number = number//4
alph_seat = 0
if(number%4==1):
alph_seat = "A"
if(number%4==2):
alph_seat = "B"
if(number%4==3):
alph_seat = "C"
if(number%4==0):
alph_seat = "D"
print(seat_number+1 , alph_seat)Editor is loading...