Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
What's the use of //= ,&= ,|= ,^= ,>>= ,<<= operators in python?
comparisionoperators
python
19 Votes
33 Answers
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 Votes
3 Answers
5th Oct 2020, 4:31 AM
Arpan Pradhan
n = int(input()) length = 0 while n > 0: n //= 10 length += 1 print(length)
python3
0 Votes
4 Answers
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 Votes
6 Answers
28th Nov 2020, 5:27 PM
Rahul
In Python 3 this symbols i don't understand (%=, /=, //=, -=, +=, *=, **=) please give me examples and explain also.
-=
**=
*=
//=
/=
%=
+=
1 Vote
3 Answers
7th Jun 2019, 11:27 AM
Rupak Barman
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
Can I import any module in python in this app?
1 Votes
Loops and conditions
2 Votes
Algorithm to create maze-like grid
2 Votes
photo upload issue in html code
0 Votes
app for lessons
1 Votes
I can't figure out how to use the getElementById code in JavaScript Code Playground, I've tried multiple times and watched YT
0 Votes
Rise of AI
1 Votes
Need a personal tutor
0 Votes
Community and feed option
0 Votes
How Much RAM is Required for Object Detection Project
0 Votes