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 14:50
Drag each label to the correct location on the image list the do’s and don’ts of safeguarding your password. a. keep yourself logged in when you leave your computer.b. don’t write your password down and leave it where others can find it.c. share your password with your friends.d.each time you visit a website,retain the cookies on your computer.e. use a long password with mixed characters.1. do's 2. don'ts
Answers: 2
question
Computers and Technology, 22.06.2019 17:00
Which of the following is not contained on the slide show toolbar? a. next button b. slide button c. close button d. pen too
Answers: 2
question
Computers and Technology, 23.06.2019 18:20
What is wi-fi infrastructure? a metropolitan area network that uses radio signals to transmit and receive data a communications technology aimed at providing high-speed wireless data over metropolitan area networks a means by which portable devices can connect wirelessly to a local area network, using access points that send and receive data via radio waves includes the inner workings of a wi-fi service or utility, including the signal transmitters, towers, or poles and additional equipment required to send out a wi-fi signal
Answers: 2
question
Computers and Technology, 24.06.2019 06:30
For which utilities, if any, does the landlord pay?
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
Biology, 21.12.2019 11:31