1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-09-01 18:53:58 +02:00

Merge pull request #3458 from sanindya-iiitd/patch-1

[python/all] Type correction for the output of math.sqrt()
This commit is contained in:
Andre Polykanine
2019-02-09 01:41:44 +02:00
committed by GitHub
18 changed files with 18 additions and 18 deletions

View File

@@ -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