Jul-18-2017, 08:26 PM
You are trying to multiply to strings together, num1 and num2. You need them to be numeric prior to you calculation, in your case, since you're trying to make a calculator is to make them 'floats':
num1 = float(input())In fact, save yourself some time and paper with:
num1 = float(input("Hello there, enter your first number"))
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition