Untitled
unknown
plain_text
2 years ago
295 B
8
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...