Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
295 B
2
Indexable
Never
1 = int(input("masukkan tiket"))


kolom = x1 % 4



if  kolom == 0 :
    kolom ='d'
elif kolom == 1:
    kolom = 'a' 
elif kolom == 2 :
    kolom = 'b'
elif kolom == 3 :
    kolom = 'c'

baris = x1 // 4
if kolom != 0:
    baris = baris + 1



print(f"tempat duduk tiket nomor : {baris}{kolom}")