summaryrefslogtreecommitdiffhomepage
path: root/hu-hu/python-hu.html.markdown
diff options
context:
space:
mode:
authorAndre Polykanine <ap@oire.me>2019-02-09 01:41:44 +0200
committerGitHub <noreply@github.com>2019-02-09 01:41:44 +0200
commit895a0ed413470ca2ce4d1cb67707c08021adfdde (patch)
tree3856be031cd5e52730a6b80cba0d5a80fafd60c3 /hu-hu/python-hu.html.markdown
parent4eb2baaf0cfcc4f4b6d60e63fb66c690ed3be56d (diff)
parent9b5b5f6d31b64be55e64c5f45084e45115f2f350 (diff)
Merge pull request #3458 from sanindya-iiitd/patch-1
[python/all] Type correction for the output of math.sqrt()
Diffstat (limited to 'hu-hu/python-hu.html.markdown')
-rw-r--r--hu-hu/python-hu.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/hu-hu/python-hu.html.markdown b/hu-hu/python-hu.html.markdown
index 9b55f8e2..01f1c414 100644
--- a/hu-hu/python-hu.html.markdown
+++ b/hu-hu/python-hu.html.markdown
@@ -656,7 +656,7 @@ i.age # => AttributeError hibát dob
# Modulokat így lehet importálni
import math
-print math.sqrt(16) # => 4
+print math.sqrt(16) # => 4.0
# Lehetséges csak bizonyos függvényeket importálni egy modulból
from math import ceil, floor