Computers and Technology, 24.08.2021 06:00, kingtrent81
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'
Answers: 1
Computers and Technology, 23.06.2019 22:20, andrew412603
Learning sign language is an example of a(n) learning sign language is an example of a(n)
Answers: 2
Computers and Technology, 24.06.2019 09:50, trenrain
Create a string list. 2. use console. readline() to collect values of firstname, lastname, street, city, state, zip, save them to list. 3. write a simple linq statement, call method uppercasewords() to change first letter to uppercase. 4. create a foreach statment to display the information. public static string uppercasewords(string value) { char[] array = value. tochararray(); if (array. length > = 1) { if (char. islower(array[0])) { array[0] = char. toupper(array[0]); } } for (int i = 1; i < array. length; i++) { if (array[i - 1] == ' ') { if (char. islower(array[i])) { array[i] = char. toupper(array[i]); } } } return new string(array);
Answers: 3
When running this code in phyton, I received the following error. Can you help me, please?
code:
Computers and Technology, 06.11.2020 16:40
Mathematics, 06.11.2020 16:40
Computers and Technology, 06.11.2020 16:40
Mathematics, 06.11.2020 16:40