+ 1

Why Is this is 7 if input are 1,2,3

a = input () b = input () c = input () print (int(a) + int(c) + int(c))

26th Nov 2022, 3:37 PM
Max Aruna Doom
Max Aruna Doom - avatar
2 Answers
+ 5
Max Aruna Doom if you add the integer values 1 + 3 + 3, the sum is 7.
26th Nov 2022, 3:47 PM
Brian
Brian - avatar
+ 2
Thanks 👍 I just realized the mistake I thought I wrote print (int(a) + int(b) + int(c) )
26th Nov 2022, 5:24 PM
Max Aruna Doom
Max Aruna Doom - avatar