You are viewing a single comment's thread. Return to all comments →
I get a TypeError when I run the code in Jupyter Notebook. Can you please explain?
TypeError Traceback (most recent call last) in ----> 1 print(round(float(input() * (1 + int(input()) * 0.1 + int(input())* 0.1))))
TypeError: can't multiply sequence by non-int of type 'float'
Seems like cookies are disabled on this browser, please enable them to open this website
Day 2: Operators
You are viewing a single comment's thread. Return to all comments →
I get a TypeError when I run the code in Jupyter Notebook. Can you please explain?
TypeError Traceback (most recent call last) in ----> 1 print(round(float(input() * (1 + int(input()) * 0.1 + int(input())* 0.1))))
TypeError: can't multiply sequence by non-int of type 'float'