+ 2
Why is the following code not going through test result. 4/5 test fail
Write a program that outputs the sum of two integers input 6 3 output 9 print( int(6) + int(3) )
9 Answers
+ 2
shouldn't you use variables in place of numbers in int() parts?
could you show us the full code or the error part?
+ 2
that link redirects me to the coach code challenge.not to your own code.
+ 2
writing this fixed code according to what code you've have show us here.
a = input()
b = input()
print( int(a) + int(b) )
hope this might help
+ 2
why are you putting integers in input() part? it doesn't make any sense
+ 2
# Abraham Zimba all are the same.
a=input()
b=input()
print( int(a) + int(b))
# OR #
a=int(input())
b=int(input())
print(a+b)
# OR #
print(int(input()) + int(input()))
+ 2
x=6
y= 3
z=x+y
print (z) đ€
+ 1
Use variables instead of numbers...XDđ
0
Thanks for the help