• Курсы
  • Компилятор кода
  • Обсуждения
  • Цены
  • Teams
Menu

Обсуждения

What's the use of //= ,&= ,|= ,^= ,>>= ,<<= operators in python?
comparisionoperatorspython
19 голосов
33 ответов
12th Jun 2020, 1:38 PM
Thayani Gathirvelou🇱🇰
Thayani Gathirvelou🇱🇰 - avatar
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 голосов
3 ответов
5th Oct 2020, 4:31 AM
Arpan Pradhan
Arpan Pradhan - avatar
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
Rahul Prasad - avatar
Can anyone please tell me why it is needed to use x //= 10 inthis code
elseif
0 голосов
6 ответов
28th Nov 2020, 5:27 PM
Rahul
Rahul - avatar
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
Rupak Barman - avatar
Актуальное сегодня
My codebits section is full of deleted codes
13 Votes
Ai generated practices
2 Votes
Solving coding challenges
0 Votes
Feedback on my portfolio
0 Votes
Yo this is madness
0 Votes
Changing String Variables into int in C++
0 Votes
Advertising in Sololearn
0 Votes
How can i insert files?
1 Votes
Fill in the blank to declare a static variable.
0 Votes
I am new
1 Votes