+ 1

I am getting an unusual output

name = input('what is your name?') one = ("saksham") two = ("anant") if name == one: print("saksham") else: print("not saksham") if name == two: print("anant") else: print("not anant")

10th Aug 2018, 5:33 PM
Kumar Saksham
Kumar Saksham - avatar
1 Antwort
0
#FIXED name = input('what is your name?') one = "saksham" two = "anant" if name == one: print("saksham") else: print("not saksham") if name == two: print("anant") else: print("not anant")
10th Aug 2018, 8:06 PM
Sousou
Sousou - avatar