• Cursussen
  • Code Compiler
  • Discussiëren
  • Prijzen
  • Teams
Menu
+ 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

errorcodeplaygroundphytonhelp
19th Jun 2023, 6:20 PM
Soham Majumder
Soham Majumder - avatar
2 Antwoorden
+ 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

Heb je vaak vragen zoals deze?

Leer efficiënter, gratis:

  • Inleiding tot Python

    7,1 miljoen leerlingen

  • Inleiding tot Java

    4,7 miljoen leerlingen

  • Inleiding tot C

    1,5 miljoen leerlingen

  • Inleiding tot HTML

    7,5 miljoen leerlingen

Bekijk alle cursussen
Populair vandaag
Guys I don't know anything about cooding who can help me pls
1 Votes
Decorators in python.
2 Votes
Coding for Cybersecurity
1 Votes
Need help
1 Votes
What do you think of this code and what are your suggestions for developing and modifying it?, How can I develop myself more?
1 Votes
Salut tout le monde
2 Votes
Pointers in c#
1 Votes
Please click me
0 Votes
Can sololearn have multiple inpus&outputs?
3 Votes
How to Get Better at Solving Programming Problems
0 Votes