mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-28 17:11:02 +02:00
Type correction for the output of math.sqrt() propagated across versions and languages
This commit is contained in:
@@ -464,7 +464,7 @@ Humano.ronca() #=> "*arrrrrrr*"
|
||||
|
||||
# Você pode importar módulos
|
||||
import math
|
||||
print math.sqrt(16) #=> 4
|
||||
print math.sqrt(16) #=> 4.0
|
||||
|
||||
# Você pode importar funções específicas de um módulo
|
||||
from math import ceil, floor
|
||||
|
Reference in New Issue
Block a user