- 1
Can someone tell me what is wrong with the if statements
name = input("What is your name") print("How are you today",name) how = input() print(how,". me too") print("What do you like to do") like=input() print(like,". I also like to do that") print("What would you like to do today") print("1 for add") print("2 for subtract") answer = input() if answer:="1": a = int(input()) b = int(input()) print(a+b) if answer :="2": c = int(input()) d = int(input()) print(c-d)
4 Réponses
+ 2
Why are you using the walrus operator?
+ 1
ok i will try thank you guys was busy so did not see
0
what is the walrus operator