I am working on a simple display for the result but when I try to put a string and the float is the same line i got an error.
here is the code:
num1 = input('Type a number: \n')
num2 = input('type second number: \n')
res = float(num1) + float(num2)
print('Your result is: ' + res)