Untitled
Anonymous
plain_text
08/07/2023 6:54 AM
348 B
19
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...