+ 1
How to add 2 calculations in one code (for example : 3+6 and 11+22) and 2 different answer
Coding
7 ответов
+ 2
print(int(input()) + int(input()), int(input()) + int(input()))
+ 2
Try x = 3+6
y = 11+22
print (y)
print (x)
+ 2
Or is two different
+ 1
Thanks
+ 1
"""
I think you do this by using a function with two arguements. Try the sample function below.
"""
def addnums(a,b):
sum = a + b
retun sum
print(addnums(2,11))
print(addnums(6,12))
0
Try this. print(int(input()) + int(input()), int(input()) + int(input())) and more i hope it will work
0
No its not working