summaryrefslogtreecommitdiffhomepage
path: root/it-it/python-it.html.markdown
diff options
context:
space:
mode:
authorAnindya Srivastava <pro.anindya@gmail.com>2019-02-06 07:26:25 +0530
committerAnindya Srivastava <pro.anindya@gmail.com>2019-02-06 07:31:34 +0530
commit9b5b5f6d31b64be55e64c5f45084e45115f2f350 (patch)
tree826144bbaedfd275f01269b336b72c1ba0b2c258 /it-it/python-it.html.markdown
parentfa9f9fd5639458b7865a48192c4dc18e7ef15d66 (diff)
Type correction for the output of math.sqrt() propagated across versions and languages
Diffstat (limited to 'it-it/python-it.html.markdown')
-rw-r--r--it-it/python-it.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/it-it/python-it.html.markdown b/it-it/python-it.html.markdown
index e81d1676..794e7a70 100644
--- a/it-it/python-it.html.markdown
+++ b/it-it/python-it.html.markdown
@@ -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