tell me how i can relate ir use the input integer and float functions? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

tell me how i can relate ir use the input integer and float functions?

just don't know how?!

8th Oct 2020, 11:29 AM
leul
leul - avatar
2 Answers
+ 1
Do you mean something like this? mynumber = int(raw_input()) myfloatnumber = float(raw_input()) If you're referring to the Sololearn Code Playground, yes the inputs are collected in an awkward way for Python. That's why I usually make the HTML, CSS, and JavaScript type of codes. For everything except the HTML, CSS, and JS type, you need to enter all inputs in 1 shot into a textarea with no mistakes to test your code because there is zero user-interactivity after that.
8th Oct 2020, 4:50 PM
Josh Greig
Josh Greig - avatar
0
thanks a lot it gaves me a relief
8th Oct 2020, 5:51 PM
leul
leul - avatar