+ 1
What will come in the dashes
To get the correct output what will fill the dashes Ex : a=12 b= 12 a+b= 24 https://code.sololearn.com/c618J39r1voX/?ref=app
3 odpowiedzi
+ 3
You need to call the function to execute it.
bellow you función at indent 0 (no spaces)
write : get_input()
+ 3
You need to convert your inputs to a numerical format.
+ 2
Another típ
The input() Methods returns a string, So if you enter a number, Example: 5
It won't be a integeeer, it will be a string.
You can easily fix this by converting what the input function returns to int, with:
num = int(input())
or float
num = float(input())