• 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
how does this code function?
2 Votes
.
1 Votes
What?
0 Votes
.
0 Votes
HTML
0 Votes
i need to learn Coding
0 Votes
Who is the best one in html can find for more comprehension
2 Votes
Quiz duel
0 Votes
Web
0 Votes
FRC Coding?
1 Votes