+ 1

this code is given me stress

print("isaiah in list operation") name ="ABCDEFGHIJKLMNOPQRSTUVWXYZ" print(name[8]+name[18]+name[0]+name[8]+name[0]+name[7]) if name==ISAIAH: print("true") else: print("code errors")

4th Aug 2022, 11:40 AM
Isaiah Gabirel
Isaiah Gabirel - avatar
1 Réponse
+ 4
You forgot about quotes: if name == 'ISAIAH':
4th Aug 2022, 12:02 PM
Solo
Solo - avatar