mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-31 18:32:22 +02:00
Merge pull request #3458 from sanindya-iiitd/patch-1
[python/all] Type correction for the output of math.sqrt()
This commit is contained in:
@@ -458,7 +458,7 @@ Human.grunt() #=> "*grunt*"
|
||||
|
||||
# Modülleri sayfaya dahil edebilirsiniz
|
||||
import math
|
||||
print math.sqrt(16) #=> 4
|
||||
print math.sqrt(16) #=> 4.0
|
||||
|
||||
# Modül içerisinden spesifik bir fonksiyonu getirebilirsiniz
|
||||
from math import ceil, floor
|
||||
|
Reference in New Issue
Block a user