mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-09-09 06:10:43 +02:00
Type correction for the output of math.sqrt() propagated across versions and languages
This commit is contained in:
@@ -654,7 +654,7 @@ i.age # => виникає помилка атрибуту
|
||||
# Ви можете імпортувати модулі
|
||||
import math
|
||||
|
||||
print(math.sqrt(16)) # => 4
|
||||
print(math.sqrt(16)) # => 4.0
|
||||
|
||||
# Ви можете імпортувати окремі функції з модуля
|
||||
from math import ceil, floor
|
||||
|
Reference in New Issue
Block a user