पायथन 3 में तल विभाजन

कोड उदाहरण

14
0

अजगर मंजिल

import math
x = 3.86356
math.floor(x)
#Returns: 3
math.ceil(x)
#Returns: 4
5
0

पायथन डिवाइड फ्लोर

In Python 3.0
5 // 2 floor division will return 2.
5 / 2 floating point division will return 2.5
4
0

मंजिल विभाजन अजगर 3

# the double '//' is used for floor division
result = x//y 
0
0

कॉम्प्लेक्स नंबर पायथन का एमपीएमएथ फ्लोर डिवीजन

we can't do floor division and modulo of complex numbers

इसी तरह के पन्ने

उदाहरणों के साथ समान पृष्ठ

अन्य भाषाओं में

यह पृष्ठ अन्य भाषाओं में है

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................