Second Input no show | SoloLearn: Learn to code for FREE!

+2

Second Input no show

firstNum = int(input("First Num")); lastNum = int(input("Last Num")); sum = (firstNum + lastNum); print(sum); What's problems this code. please 🙂 help me

2/25/2021 4:25:59 PM

SHORIF SHUVO

21 Answers

New Answer

+5

I guess this is a code coach module end: you don't have to provide a string to be displayed in input: firstNum = int(input()); lastNum = int(input());

+5

SHORIF SHUVO 1. In Python you shouldn't use semicolon ; 2. After entering the first number, you should press ENTER(not submit!!!) 3. After entering the second number, you should press submit. I hope it works😊

+4

https://code.sololearn.com/WhiNb9BkJUVC/?ref=app

+3

SHORIF SHUVO No problem here. Working fine

+3

what exactly is the problem? can you describe?

+3

Other's apps output easyli show

+3

when I run your program, I have a pop-up window where I enter two numbers using the enter key and the program in the console gives me the result. there are no errors

+2

https://code.sololearn.com/cMu1canMG7La/?ref=app

+2

Code link.............code check please 😃 https://code.sololearn.com/cMu1canMG7La/?ref=app

+2

Hi! you should enter the numbers in a single pop-up window, separating them with the enter button

+2

Ok trying

+2

Sorry same problem

+2

What is ";"? It python and not C#... Just write: firstnum = int(input("First Num: ")) lastnum = int(input("Last Num: ")) sum = (firstnum + lastnum) print(sum)

+1

Please solve

+1

Central Processing Unit Semicolon is optional.

+1

the code also works with a semicolon

0

The right code is this firstNum=int(input()) secondNum=int(input()) Sum=firstNum+secondNum print(Sum)

0

Remove all of ; these

-1

I think semicolon at print line

-1

there is semicolon on every line. python is very sensitive language. semicolon is not meant to be there.