mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-09-01 18:53:58 +02:00
Type correction for the output of math.sqrt() propagated across versions and languages
This commit is contained in:
@@ -467,7 +467,7 @@ Humano.roncar() #=> "*roncar*"
|
||||
|
||||
# Puedes importar módulos
|
||||
import math
|
||||
print math.sqrt(16) #=> 4
|
||||
print math.sqrt(16) #=> 4.0
|
||||
|
||||
# Puedes obtener funciones específicas desde un módulo
|
||||
from math import ceil, floor
|
||||
|
Reference in New Issue
Block a user