mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-12 17:54:26 +02:00
Type correction for the output of math.sqrt() propagated across versions and languages
This commit is contained in:
@@ -640,7 +640,7 @@ i.age # => Emette un AttributeError
|
||||
|
||||
# Puoi importare moduli
|
||||
import math
|
||||
print math.sqrt(16) # => 4
|
||||
print math.sqrt(16) # => 4.0
|
||||
|
||||
# Puoi ottenere specifiche funzione da un modulo
|
||||
from math import ceil, floor
|
||||
|
Reference in New Issue
Block a user