Python. The sum of the two

Asked 2 years ago, Updated 2 years ago, 21 views

I'm studying Python and I have a question, so I'm leaving a question! I'm going to set two integers and find the sum of these two at a time x=int(input()) y=int(input())

print(a,’+’,b,’=‘) c=input() Isn't this how you get it?

Although it's gibberish, I wonder how to ultimately get the sum of the two integers. (Later, the process of determining whether the number is greater than 10 remains.)

python

2022-09-22 18:23

1 Answers

x = int(input()) // Enter a number from the keyboard and save it as an integer
y = int(input())

print(x, '+', y, '=', x+y)


2022-09-22 18:23

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.