Cursos
Fazer loginComeçar a aprender IA
Cursos
Fazer loginComeçar a aprender IA

Q&A Discussões

print(float "210" * int(input("Enter another number: ")))
pythontype-conversion
4 Votos
6 Respostas
29th Sep 2016, 1:06 PM
Rakesh Subrahmanyan
Rakesh Subrahmanyan - avatar
float("210" * int(input("Enter a number:" ))) Doesn't work when compiled?
pythontype-conversion
0 Voto
1 Resposta
14th Apr 2020, 4:15 PM
Giuseppe Sinopoli
Giuseppe Sinopoli - avatar
What is the difference between int(input("Enter you number here: ")) and float(input("Enter your Number here: ")).
python
0 Voto
4 Respostas
29th Dec 2018, 8:11 AM
Adesiyan Joseph
print(int(input("Enter a number: ")) + int(input("Enter another number: "))).. this code is giving error why?
pythontype-conversion
0 Voto
2 Respostas
11th Aug 2017, 4:30 PM
Isha
What is the output of this code? >>> float("210" * int(input("Enter a number:" ))) Enter a number: 2
code?isofoutputthethiswhat
0 Voto
4 Respostas
19th Sep 2018, 10:24 PM
Mohamed Ramadan El Geneidy‎
Mohamed Ramadan El Geneidy‎ - avatar
how do I get line breaks? name = input("What is your name?:") print("Hiya, " + name) age = int(input("Tell me your age:")) year = str((2016 - age) + 100) num = int(input("Enter a number between 1 and 50:")) line = str((name + " will be 100 in the year " + year) * num) print(\n line)
pythonstrings
2 Votos
3 Respostas
8th Sep 2016, 10:32 AM
ZipZapp09
ZipZapp09 - avatar
Quente hoje
I have problem understanding while loop
1 Votes
No GitHub?????
3 Votes
Que
1 Votes
Problem with Javascript function
0 Votes
For Programming i need Patience
0 Votes
Installing modules in SL env py
2 Votes
How can I print a Python set so it looks clean (no {} brackets or quotes)?
2 Votes
Guys any tips one getting cubes?
1 Votes
Html
0 Votes
DSA courses
0 Votes