subject

I have some code here in PYTHON 3, print("Is your number greater or less than 50? Lets see!") num = int(input("Enter an positive integer from 0 to 100: ")) if num > 100: print("Greater than 100") if num < 100: print("less than 100") if num > 50: print("Greater than 50") if num < 50: print("Less than 50") if num > 40: print("greater than 40 but less than 50") print("calculating...") print("your inputed number is" + num) print("thank you for playing!") it says it has a error Traceback (most recent call last): ValueError: invalid literal for int() with base 10: '' !Error: Unknown error Can you check my code? Thanks

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 08:00
Michael has written an e-mail to his employees that describes a new product special that will be introduced to the customers next week. by taking time to make sure the e-mail is well written, logical, and organized, michael has made sure his message has the characteristics of a) effective communicationb) ineffective communicationc) barriers to communicationd) workplace communication
Answers: 2
question
Computers and Technology, 23.06.2019 14:00
What is html ? give a small description about html
Answers: 2
question
Computers and Technology, 23.06.2019 20:40
On nba 2k 19, every time i try to join a my park game, it leads ro a website telling my dad that he needs ps plus. i already have ps plus though. how do i fix this?
Answers: 2
question
Computers and Technology, 24.06.2019 00:50
Which of the following is not a key player in the sale of travel products?
Answers: 2
You know the right answer?
I have some code here in PYTHON 3, print("Is your number greater or less than 50? Lets see!") num =...
Questions
question
Mathematics, 20.03.2021 21:50
question
Mathematics, 20.03.2021 21:50
question
Computers and Technology, 20.03.2021 21:50
Questions on the website: 13722360