0

Whats wrong with that...plz help

print(name:=input ()+" is "+age:=input())

19th May 2022, 5:06 PM
Cham Sum Lau
1 Réponse
+ 2
The issue is that you are try to assign 2 variables in a + expression. Whats wrong with that...plz help Either remove the variables (you don't need them) print(input ()+" is "+input()) Or separate the assignments: print(name:=input (), "is", age:=input())
19th May 2022, 5:12 PM
Lisa
Lisa - avatar