1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-08 15:56:47 +02:00
This commit is contained in:
Adam
2013-07-01 14:51:34 -07:00

View File

@@ -447,7 +447,7 @@ print math.sqrt(16) #=> 4
# You can get specific functions from a module # You can get specific functions from a module
from math import ceil, floor from math import ceil, floor
print ceil(3.7) #=> 4.0 print ceil(3.7) #=> 4.0
print floor3.7) #=> 3.0 print floor(3.7) #=> 3.0
# You can import all functions from a module. # You can import all functions from a module.
# Warning: this is not recommended # Warning: this is not recommended