subject

When running this code in phyton, I received the following error. Can you help me, please? code:
num1 = int(input())

num2 = int(input())

if num2 < num1:

print("Second integer can't be less than the first.")

else:

for i in range(num1,num2+1,5):

print(i, end=" ")

error:

Traceback (most recent call last):
File "main. py", line 1, in
num1 = int(input())
ValueError: invalid literal for int() with base 10: '-15 30'

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:30
Exchanging which type of data uses the least bandwidth? music photographs video voice bandwidth- the amount of data that can be moved between two points in a set time period
Answers: 1
question
Computers and Technology, 22.06.2019 10:00
Which is a false statement considering copyright law? a. when people upload something to the internet they automatically receive a copyright for the work b. the work does not have to contain a copyright notice to be considered having a copyright c. copyright is legal term describing rights given to the creators for literary and artistic works d. personal pictures are always covered by copyrights
Answers: 1
question
Computers and Technology, 22.06.2019 22:30
You are new to microsoft certification and want to start out by getting a certification geared around windows 8. what microsoft certification should you pursue?
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
Define a function printfeetinchshort, with int parameters numfeet and numinches, that prints using ' and " shorthand. ex: printfeetinchshort(5, 8) prints: 5' 8"
Answers: 1
You know the right answer?
When running this code in phyton, I received the following error. Can you help me, please? code:
Questions
question
Mathematics, 23.04.2021 01:00
question
Mathematics, 23.04.2021 01:00
question
Arts, 23.04.2021 01:00
question
English, 23.04.2021 01:00
question
Mathematics, 23.04.2021 01:00
Questions on the website: 13722367