+ 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

12th May 2022, 12:24 PM
Jude Maria Bevan
Jude Maria Bevan - avatar
3 Réponses
+ 3
You need to call the function to execute it. bellow you función at indent 0 (no spaces) write : get_input()
12th May 2022, 12:39 PM
NoVa
NoVa - avatar
+ 3
You need to convert your inputs to a numerical format.
12th May 2022, 12:41 PM
Simon Sauter
Simon Sauter - avatar
+ 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())
12th May 2022, 12:42 PM
NoVa
NoVa - avatar