Курсы
Курсы
Компилятор кода
Компилятор кода
Обсуждения
Teams
Войти
Регистрация
Menu
Обсуждения
Поиск
Поиск
Задать вопрос
Задать вопрос
What's the use of //= ,&= ,|= ,^= ,>>= ,<<= operators in python?
comparisionoperators
python
19 голосов
33 ответов
12th Jun 2020, 1:38 PM
Thayani Gathirvelou🇱🇰
def ChangeVal(M,N): for i in range(N): if M[i]%5 = = 0: M[i] //= 5 if M[i]%3 = = 0: M[i] //= 3 L=[25,8,75,12] ChangeVal(L
python
-4 голосов
2 ответов
5th Oct 2020, 4:31 AM
Arpan Pradhan
n = int(input()) length = 0 while n > 0: n //= 10 length += 1 print(length)
python3
0 голосов
4 ответов
17th Oct 2020, 2:46 AM
Rahul Prasad
Can anyone please tell me why it is needed to use x //= 10 inthis code
else
if
0 голосов
6 ответов
28th Nov 2020, 5:27 PM
Rahul
In Python 3 this symbols i don't understand (%=, /=, //=, -=, +=, *=, **=) please give me examples and explain also.
-=
**=
*=
//=
/=
%=
+=
1 голос
3 ответов
7th Jun 2019, 11:27 AM
Rupak Barman
Задать вопрос
Задать вопрос
Задать вопрос
Задать вопрос
Актуальное сегодня
Help please?
3 Votes
How to get better with problem-solving and programming
1 Votes
Ejercicio Pytho
0 Votes
Odd even threads without condition variable
0 Votes
Online voting system
2 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Suggestions needed
4 Votes
SQL practice
2 Votes
Game development
0 Votes