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

@ -572,7 +572,7 @@ Clovek.odkaslej_si() # => "*ehm*"
# Lze importovat moduly
import math
print(math.sqrt(16.0)) # => 4
print(math.sqrt(16.0)) # => 4.0
# Lze také importovat pouze vybrané funkce z modulu
from math import ceil, floor

View File

@ -442,7 +442,7 @@ Human.grunt() #=> "*grunt*"
# Wir können Module importieren
import math
print math.sqrt(16) #=> 4
print math.sqrt(16) #=> 4.0
# Wir können auch nur spezielle Funktionen eines Moduls importieren
from math import ceil, floor

View File

@ -555,7 +555,7 @@ Human.grunt() #=> "*grunt*"
# Wir können Module importieren
import math
print(math.sqrt(16)) #=> 4
print(math.sqrt(16)) #=> 4.0
# Wir können auch nur spezielle Funktionen eines Moduls importieren
from math import ceil, floor

View File

@ -467,7 +467,7 @@ Humano.roncar() #=> "*roncar*"
# Puedes importar módulos
import math
print math.sqrt(16) #=> 4
print math.sqrt(16) #=> 4.0
# Puedes obtener funciones específicas desde un módulo
from math import ceil, floor

View File

@ -444,7 +444,7 @@ Human.grunt() #=> "*grunt*"
# On peut importer des modules
import math
print math.sqrt(16) #=> 4
print math.sqrt(16) #=> 4.0
# Et récupérer des fonctions spécifiques d'un module
from math import ceil, floor

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

View File

@ -640,7 +640,7 @@ i.age # => Emette un AttributeError
# Puoi importare moduli
import math
print math.sqrt(16) # => 4
print math.sqrt(16) # => 4.0
# Puoi ottenere specifiche funzione da un modulo
from math import ceil, floor

View File

@ -441,7 +441,7 @@ Human.grunt() #=> "*grunt*"
# 다음과 같이 모듈을 임포트할 수 있습니다.
import math
print math.sqrt(16) #=> 4
print math.sqrt(16) #=> 4.0
# 모듈의 특정 함수를 호출할 수 있습니다.
from math import ceil, floor

View File

@ -532,7 +532,7 @@ Czlowiek.grunt() # => "*grunt*"
# Tak importuje się moduły:
import math
print(math.sqrt(16)) # => 4
print(math.sqrt(16)) # => 4.0
# Można podać konkretne funkcje, np. ceil, floor z modułu math
from math import ceil, floor

View File

@ -464,7 +464,7 @@ Humano.ronca() #=> "*arrrrrrr*"
# Você pode importar módulos
import math
print math.sqrt(16) #=> 4
print math.sqrt(16) #=> 4.0
# Você pode importar funções específicas de um módulo
from math import ceil, floor

View File

@ -647,7 +647,7 @@ Human.grunt() # => "*grunt*"
# Você pode importar módulos
import math
print(math.sqrt(16)) # => 4
print(math.sqrt(16)) # => 4.0
# Você pode importar apenas funções específicas de um módulo
from math import ceil, floor

View File

@ -449,7 +449,7 @@ Om.exclama() #=> "*Aaaaaah*"
# Pentru a folosi un modul, trebuie importat
import math
print math.sqrt(16) #=> 4
print math.sqrt(16) #=> 4.0
# Putem importa doar anumite funcţii dintr-un modul
from math import ceil, floor

View File

@ -541,7 +541,7 @@ Human.grunt() #=> "*grunt*"
# Вы можете импортировать модули
import math
print(math.sqrt(16)) #=> 4
print(math.sqrt(16)) #=> 4.0
# Вы можете импортировать отдельные функции модуля
from math import ceil, floor

View File

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

View File

@ -654,7 +654,7 @@ i.age # => виникає помилка атрибуту
# Ви можете імпортувати модулі
import math
print(math.sqrt(16)) # => 4
print(math.sqrt(16)) # => 4.0
# Ви можете імпортувати окремі функції з модуля
from math import ceil, floor

View File

@ -439,7 +439,7 @@ Human.grunt() # => "*grunt*"
# 我们可以导入其他模块
import math
print math.sqrt(16) # => 4
print math.sqrt(16) # => 4.0
# 我们也可以从一个模块中导入特定的函数
from math import ceil, floor

View File

@ -627,7 +627,7 @@ i.age # => raises an AttributeError
# 你可以引入模組來做使用
import math
print math.sqrt(16) # => 4
print math.sqrt(16) # => 4.0
# math.sqrt()為取根號
# 你可以只從模組取出特定幾個函式