Untitled

Anonymous
plain_text
08/07/2023 7:11 AM
396 B
17
Indexable
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}")
Editor is loading...