firstNum = int(input("First Num"));
lastNum = int(input("Last Num"));
sum = (firstNum + lastNum);
What's problems this code. please 🙂 help me
2/25/2021 4:25:59 PM
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());
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😊
No problem here. Working fine
what exactly is the problem? can you describe?
Other's apps output easyli show
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
Code link.............code check please 😃
Hi! you should enter the numbers in a single pop-up window, separating them with the enter button
Sorry same problem
What is ";"? It python and not C#... Just write:
firstnum = int(input("First Num: "))
lastnum = int(input("Last Num: "))
sum = (firstnum + lastnum)
Central Processing Unit
Semicolon is optional.
the code also works with a semicolon
The right code is this
Remove all of ; these
I think semicolon at print line
there is semicolon on every line. python is very sensitive language. semicolon is not meant to be there.
Send us a message