0

When i was running here in solo learn. Iam getting error in line 7 . but this code is working in python interpreter

num1 = input("Enter a number: ") print(num1) num2 = input("Enter a number: ") print(num2)

1st Sep 2020, 10:35 AM
Arif Ahmed
4 Réponses
0
I also get an error Md. Nasif-ur-Rahman Rimon Do you get two prompt one by one and print two value ?? I think you Arif Ahmed should get both parameter in same prompt and convert it to other data type and separate them as two var And then print them .
1st Sep 2020, 10:48 AM
Divya Mohan
Divya Mohan - avatar
0
Ya I understood thats true Divya Mohan and Md. Nasif-ur-Rahman Rimon
1st Sep 2020, 10:55 AM
Arif Ahmed
0
Yes I also understood. Thanks Md. Nasif-ur-Rahman Rimon
1st Sep 2020, 10:56 AM
Divya Mohan
Divya Mohan - avatar
1st Sep 2020, 10:56 AM
Arif Ahmed