¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
What is the difference between a slash and a double slash in python
the difference between 2/3 and 2//3
2 Respuestas
+ 2
2/3 produces a float (0.6666...)
2//3 produces an integer (0 in this case)
0
OK thanks