0
Can someone please explain me the type conversion section of python according to solo learn's syllabus ?
print(float(input("Enter a number: ")) + float(input("Enter another number: "))) This is the try yourself section ☝☝☝ How should I write it to make no errors ?
1 ответ
0
If you are asking how to correctly input your numbers, you have to put your two numbers on separate lines. So
4
7
returns 11.0, but
4 7
will return an error.