Kursy
Zaloguj sięZacznij uczyć się AI
Kursy
Zaloguj sięZacznij uczyć się AI

Dyskusje Q&A

What's the use of //= ,&= ,|= ,^= ,>>= ,<<= operators in python?
comparisionoperatorspython
19 głosów
33 odpowiedzi
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 głosów
3 odpowiedzi
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 głosów
4 odpowiedzi
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 głosów
6 odpowiedzi
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 Głos
3 odpowiedzi
7th Jun 2019, 11:27 AM
Rupak Barman
Rupak Barman - avatar
Popularne dzisiaj
I have finished first in Saturn League 3 times in a row, why have I not been given the badge for “Intergalactic Champion”
4 Votes
Python intermediate help with dictionaries
0 Votes
Marquee
1 Votes
Fill in the blank to declare a static variable.
0 Votes
What are the advantages and disadvantages of using let vs var when declaring variables in JavaScript?
0 Votes
Any Advise?
1 Votes
RUST'S FUTURE
1 Votes
Popsacles Aufgabe
1 Votes
How far do courses go on Sololearn?
0 Votes
Question #2: "Please activate your account and keep learning to enable messaging. An email has been sent to you"
1 Votes