• Cours
  • Compilateur de code
  • Discuter
  • Tarification
  • Équipes
Menu

Discussions Q&R

What's the use of //= ,&= ,|= ,^= ,>>= ,<<= operators in python?
comparisionoperatorspython
19 Votes
33 Réponses
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 Votes
3 Réponses
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 Vote
4 Réponses
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 Vote
6 Réponses
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 Vote
3 Réponses
7th Jun 2019, 11:27 AM
Rupak Barman
Rupak Barman - avatar
Aujourd'hui en vedette
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
How can i insert files?
1 Votes
Advertising in Sololearn
0 Votes
Hi who can hel me please
0 Votes
I am new
1 Votes
Changing String Variables into int in C++
0 Votes