In 2nd line how can I check if one inserted any thing other than number( integer or float)? ( I tried using type(), didn't work) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

In 2nd line how can I check if one inserted any thing other than number( integer or float)? ( I tried using type(), didn't work)

https://code.sololearn.com/ccDi2X2L2QV8/?ref=app

19th Jun 2023, 6:20 PM
Soham Majumder
Soham Majumder - avatar
1 Answer
+ 1
Thank you so much , i changed the input terms and the final is.. https://code.sololearn.com/c7uBtk19e4af/?ref=app
19th Jun 2023, 6:31 PM
Soham Majumder
Soham Majumder - avatar