+ 1

Question on walrus operator

Are two walrus operators not valid in one single print? Did I miss something? https://code.sololearn.com/c616PLsRgYO9/?ref=app

1st Sep 2022, 4:15 PM
Meylin Leonario
Meylin Leonario - avatar
1 Respuesta
+ 5
# parentheses print( (numero_1:=int(input())) + (numero_2:=int(input())) )
1st Sep 2022, 4:25 PM
SoloProg
SoloProg - avatar