Jun-07-2020, 05:55 AM
Note that
Also, please use "[python]" tags when posting code, because it adds syntax highlighting, line numbering and keeps the indentation.
input
returns a string, so you need to convert the values in x
to numbers (with the int
or float
functions, for example).Also, please use "[python]" tags when posting code, because it adds syntax highlighting, line numbering and keeps the indentation.