+ 1

Como hago para usar la entrada del 4 proyecto de phyton or beginners

Me ayudarĂ­as mucho

23rd Dec 2021, 4:04 PM
Jeiron
Jeiron - avatar
14 Respostas
+ 3
Use these then, Height=float(input()) Weight=float(input())
23rd Dec 2021, 5:20 PM
NEZ
NEZ - avatar
+ 2
What exactly do you want? Code or question? Submit your problem here, don't force me to take the course to help you :)
23rd Dec 2021, 4:17 PM
Juee
Juee - avatar
+ 2
Q. How do I use the input from the 4th project of phyton or beginners You would help me a lot A. See dear, you should attach the code (your try) and give the description about your question. Please refer: https://www.sololearn.com/discuss/1316935/?ref=app https://www.sololearn.com/discuss/333866/?ref=app
23rd Dec 2021, 4:59 PM
NEZ
NEZ - avatar
+ 1
there is an input and when I use it it gives me an error
23rd Dec 2021, 5:04 PM
Jeiron
Jeiron - avatar
+ 1
Jeiron Are you taking about 'BMI Calculator'?
23rd Dec 2021, 5:05 PM
NEZ
NEZ - avatar
+ 1
Yes
23rd Dec 2021, 5:08 PM
Jeiron
Jeiron - avatar
+ 1
Para convertir una entrada a int, usa esto: entrada = int(input()) O: entrada = input() entrada = int(entrada) (Es lo mismo) Para convertir una entrada a expresiĂłn decimal, solo haz esto: entrada = float(input()) O: entrada = input() entrada = float(entrada) (Es lo mismo, nuevamente) Por Ășltimo, convertir la entrada a str, usa: entrada = input() (Ya que el input es, siempre, convertido a str cuando no le pones float o int) Con todo esto se llega a la conclusiĂłn que, como dijo NEZ, se hace esto: height = float(input()) weight = float(input()) Espero que me hayas entendido.
23rd Dec 2021, 8:23 PM
CGO!
CGO! - avatar
0
Then attach the code or search about in the discuss search bar, we won't give you direct codes.
23rd Dec 2021, 5:09 PM
NEZ
NEZ - avatar
0
I did not want direct code, I wanted to know how to do so that I did not get an error
23rd Dec 2021, 5:11 PM
Jeiron
Jeiron - avatar
0
Have a look to these posts i have posted, you will get an idea!
23rd Dec 2021, 5:18 PM
NEZ
NEZ - avatar
0
I wanted a suggestion of what to do because it gives me an error
23rd Dec 2021, 5:18 PM
Jeiron
Jeiron - avatar
0
Look at the question, what I ask is how to use the entrance, I know how to do everything except how to use the entrance
23rd Dec 2021, 5:18 PM
Jeiron
Jeiron - avatar
0
Thank you
23rd Dec 2021, 5:21 PM
Jeiron
Jeiron - avatar