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, 22.06.2019 12:10
Linux is distributed under gnu gpl. why is this important? a. it ensures that only torvalds can profit from the sale of linux b. it prevents unknowledgeable users from downloading programs they don't know how to operate. c. it provides protection for the developers who created linux. d. it states that anyone can copy, modify, and share the program if changes are made public.
Answers: 1
question
Computers and Technology, 23.06.2019 00:00
What season was better from fortnite?
Answers: 2
question
Computers and Technology, 23.06.2019 14:00
Need ! will choose brainliest! discuss the role of abstraction in the history of computer software.
Answers: 1
question
Computers and Technology, 23.06.2019 15:30
The song about casey jones a railroad engineer who gives his life on the job would most likely gall under the folk song category of? a-work song b-nonsense song c-religious song d-ballad
Answers: 1
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, 12.04.2021 20:30
question
Mathematics, 12.04.2021 20:30
question
Mathematics, 12.04.2021 20:30
question
English, 12.04.2021 20:30
question
Mathematics, 12.04.2021 20:30
Questions on the website: 13722359