+ 1
Como hago para usar la entrada del 4 proyecto de phyton or beginners
Me ayudarías mucho
14 ответов
+ 3
Use these then,
Height=float(input())
Weight=float(input())
+ 2
What exactly do you want? Code or question? Submit your problem here, don't force me to take the course to help you :)
+ 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
+ 1
there is an input and when I use it it gives me an error
+ 1
Jeiron
Are you taking about 'BMI Calculator'?
+ 1
Yes
+ 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.
0
Then attach the code or search about in the discuss search bar, we won't give you direct codes.
0
https://www.sololearn.com/discuss/2873133/?ref=app
https://www.sololearn.com/discuss/2726817/?ref=app
https://www.sololearn.com/discuss/2789472/?ref=app
https://www.sololearn.com/discuss/2697189/?ref=app
https://www.sololearn.com/discuss/2735780/?ref=app
https://www.sololearn.com/discuss/2885794/?ref=app
https://www.sololearn.com/discuss/2687547/?ref=app
https://www.sololearn.com/discuss/2877433/?ref=app
https://www.sololearn.com/discuss/2686011/?ref=app
https://www.sololearn.com/discuss/2907384/?ref=app
https://www.sololearn.com/discuss/2857852/?ref=app
https://www.sololearn.com/discuss/2755773/?ref=app
https://www.sololearn.com/discuss/330783/?ref=app
https://www.sololearn.com/discuss/637206/?ref=app
https://www.sololearn.com/discuss/1475273/?ref=app
https://www.sololearn.com/discuss/2684939/?ref=app
https://www.sololearn.com/discuss/2940297/?ref=app
https://www.sololearn.com/discuss/2840898/?ref=app
https://www.sololearn.com/discuss/1315197/?ref=app
https://www.sololearn.com/discuss/2834561/?ref=app
0
I did not want direct code, I wanted to know how to do so that I did not get an error
0
Have a look to these posts i have posted, you will get an idea!
0
I wanted a suggestion of what to do because it gives me an error
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
0
Thank you