diff options
author | Anindya Srivastava <pro.anindya@gmail.com> | 2019-02-06 07:26:25 +0530 |
---|---|---|
committer | Anindya Srivastava <pro.anindya@gmail.com> | 2019-02-06 07:31:34 +0530 |
commit | 9b5b5f6d31b64be55e64c5f45084e45115f2f350 (patch) | |
tree | 826144bbaedfd275f01269b336b72c1ba0b2c258 /hu-hu | |
parent | fa9f9fd5639458b7865a48192c4dc18e7ef15d66 (diff) |
Type correction for the output of math.sqrt() propagated across versions and languages
Diffstat (limited to 'hu-hu')
-rw-r--r-- | hu-hu/python-hu.html.markdown | 2 |
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 |