• Cursos
  • Compilador de Código
  • Debatir
  • Precios
  • Teams
Menu

Sesiones de PyR

why is the answer 20 instead of 20.0
pythonvariables
-3 Votos
4 Respuestas
18th Aug 2016, 3:38 PM
hansen w
hansen w - avatar
How to round 20.0 in to 2 floating points in python 2.7??
background
1 Voto
3 Respuestas
28th Jan 2018, 11:28 AM
Sachitha Upeksha
Sachitha Upeksha - avatar
Can anyone please help me with this code please,
20.0javaquiz,please
0 Votos
4 Respuestas
14th Jan 2022, 10:23 PM
Giddy Da-huncho🙃😇💓
Giddy Da-huncho🙃😇💓 - avatar
If print(10/2) shows result as 5.0 , print(10//2) shows 5 then print(10*2) shows 20.0 but print(10**2) is showing 100.0 why?
pythonoperations
0 Votos
5 Respuestas
12th May 2021, 6:03 AM
pranav
pranav - avatar
Если ноль в конце числа пайтоном игнорится ( 8.900 = 8.9 ), то почему 15.0 + 5 = 20.0
data-typespython
-4 Votos
2 Respuestas
10th Jan 2017, 7:58 PM
Andrey
eggs = 4 spam = 5 print (eggs*spam) output = 20 but the answer must be 20.0 right? because any action on integers yields a float value?
arithematicpythonvariables
0 Votos
3 Respuestas
26th Aug 2016, 4:28 PM
The Flash
The Flash - avatar
En tendencia hoy
CAN ANYONE SUGGEST ME AS A STUDENT WITH A PASSION OF CODING WHICH CODING LANGUAGE SHOULD I CHOOSE AS BEGGINER
5 Votes
I can't see my activity
2 Votes
[SOLVED] What's wrong in my code?
2 Votes
Hearts refill
2 Votes
I can't see my activity in my profile
1 Votes
Can anyone help me?
1 Votes
Assets not loading without trailing slash
1 Votes
Does skipping void Certificate?
2 Votes
Is there any problem with "Ethical AI Foundations" course ???
1 Votes
Python
3 Votes