1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-30 18:10:20 +02:00

Type correction for the output of math.sqrt() propagated across versions and languages

This commit is contained in:
Anindya Srivastava
2019-02-06 07:26:25 +05:30
parent fa9f9fd563
commit 9b5b5f6d31
17 changed files with 17 additions and 17 deletions

View File

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