Untitled

mail@pastecode.io avatarunknown
plain_text
2 months ago
295 B
1
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}")