54 Answers
New Answer4/21/2021 9:52:23 PM
Tony Matar54 Answers
New AnswerProgramming Resourses links: https://code.sololearn.com/WuauE1Ae59f1/?ref=app https://code.sololearn.com/Wps10yG4b1aK/?ref=app https://code.sololearn.com/W19U9nTWp4XF/?ref=app https://code.sololearn.com/W71i1t1MPVp6/?ref=app
you made a few mistakes: all statements must start with a small letter. when you declare a variable and assign it an input, you don't need to write anything inside, remove the quotation marks from there, too. immediately convert this value to an integer. do not immediately print the entered value to the screen. perform an arithmetic operation on two numbers and display the result on the screen
you wrote quite a working program, but alas, the requirements of the tests are different and we must follow them. from now on, read the task carefully and do everything literally. right down to the output of each word. if the word should be capitalized - type with a capital letter. no personal interpretations. this is a guarantee of success
Step 1: Start Step 2: Assign two numbers A and B Step 3: Sum of A and B is C Step 4: Add A and B Step 5: Print the value of C Step 6: Stop
Write a program to take two integers as input and output their sum. Sample Input: 2 8 Sample Output: 10
I wrote : Input1=input('first number:') Print(Input1) Input2=input('second number:') Print(Input2) Print(int(Input1) +int(Input2))
at what stage did you have a problem? have you tried writing code? can you show it off?
I would be delighted if you write me the operation and the steps so i can clearly see where am wrong
In fact i am learning python just for fun and for knowledge though i am a biology masters student :pp
haha, my specialty is agronomist for plant protection, although I work as an engineer for the installation of security and fire alarms, video surveillance
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message