Tuesday, March 24, 2020

Answer for Multiply sign using spyder!

https://365datascience.com/dwqa-answer/answer-for-multiply-sign-using-spyder/ -

Hi Octavio, 

thanks for reaching out! The problem occurs, because your num_1 is a string, instead of an integer. 

All you need to do is, after the user has selected a number and before you start the print statement, to convert your num_1 to an integer, like so:

num_1 = int(num_1)

and you should get the correct result

 

Best, 

Eli




#365datascience #DataScience #data #science #365datascience #BigData #tutorial #infographic #career #salary #education #howto #scientist #engineer #course #engineer #MachineLearning #machine #learning #certificate #udemy

No comments:

Post a Comment