mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-06 14:56:54 +02:00
Merge pull request #2009 from fighterleslie/pr-math.sqrt
[python3/en] Correct math.sqrt(16)
This commit is contained in:
@@ -689,7 +689,7 @@ i.age # => raises an AttributeError
|
||||
|
||||
# You can import modules
|
||||
import math
|
||||
print(math.sqrt(16)) # => 4
|
||||
print(math.sqrt(16)) # => 4.0
|
||||
|
||||
# You can get specific functions from a module
|
||||
from math import ceil, floor
|
||||
|
Reference in New Issue
Block a user