What's the use of //= ,&= ,|= ,^= ,>>= ,<<= operators in python? | Sololearn: Learn to code for FREE! (2024)

+ 19

Please anyone explain me I need clear explanation

12th Jun 2020, 1:38 PM

Thayani Gathirvelou🇱🇰

What's the use of //= ,&= ,|= ,^= ,>>= ,<<= operators in python? | Sololearn: Learn to code for FREE! (1)

30 Answers

+ 9

Preity thank you

12th Jun 2020, 1:56 PM

Thayani Gathirvelou🇱🇰

What's the use of //= ,&= ,|= ,^= ,>>= ,<<= operators in python? | Sololearn: Learn to code for FREE! (3)

+ 9

//= is floor division&= is bitwise AND|= is bitwise OR^= is bitwise XOR>>= is bitwise right shift. <<= is bitwise left shift. The equal at the end is because you give a variable at the front and a value after it and the final value will be stored in the variable.

12th Jun 2020, 1:58 PM

👑 Prometheus 🇸🇬

What's the use of //= ,&= ,|= ,^= ,>>= ,<<= operators in python? | Sololearn: Learn to code for FREE! (4)

+ 7

Thank you 🙏🙏

12th Jun 2020, 1:50 PM

Thayani Gathirvelou🇱🇰

What's the use of //= ,&= ,|= ,^= ,>>= ,<<= operators in python? | Sololearn: Learn to code for FREE! (5)

+ 7

Ok thank you🙏🙏

12th Jun 2020, 2:02 PM

Thayani Gathirvelou🇱🇰

What's the use of //= ,&= ,|= ,^= ,>>= ,<<= operators in python? | Sololearn: Learn to code for FREE! (6)

+ 6

Thayani Gathirvelou🇱🇰 check Preity's answer which has links to the various bitwise operators.

12th Jun 2020, 2:01 PM

👑 Prometheus 🇸🇬

What's the use of //= ,&= ,|= ,^= ,>>= ,<<= operators in python? | Sololearn: Learn to code for FREE! (8)

+ 6

But anyways, x<<=2 is basically just 5*2^2=20.

12th Jun 2020, 2:02 PM

👑 Prometheus 🇸🇬

What's the use of //= ,&= ,|= ,^= ,>>= ,<<= operators in python? | Sololearn: Learn to code for FREE! (9)

+ 6

Dulshan Weeratunge % Modulus: Divides and returns the value of remainderExamples:-1)>>>4%3; output 12)>>>10%3; Output 13)>>>10.5%3 Output 1.5

13th Jun 2020, 6:16 AM

narayanaprasad

What's the use of //= ,&= ,|= ,^= ,>>= ,<<= operators in python? | Sololearn: Learn to code for FREE! (10)

+ 6

Dulshan Weeratunge= divides and returns🔝

13th Jun 2020, 6:17 AM

narayanaprasad

What's the use of //= ,&= ,|= ,^= ,>>= ,<<= operators in python? | Sololearn: Learn to code for FREE! (11)

+ 5

I understand addition operator but couldn't understand bitwise operators

12th Jun 2020, 1:43 PM

Thayani Gathirvelou🇱🇰

What's the use of //= ,&= ,|= ,^= ,>>= ,<<= operators in python? | Sololearn: Learn to code for FREE! (12)

13th Jun 2020, 12:49 AM

ReDaDDi

What's the use of //= ,&= ,|= ,^= ,>>= ,<<= operators in python? | Sololearn: Learn to code for FREE! (13)

+ 4

Instead of a = a + 5Its a += 5Exactly the same thing (goes for the other operators as well) Its just to make it easier since variables are updated so often.

12th Jun 2020, 1:40 PM

Slick

What's the use of //= ,&= ,|= ,^= ,>>= ,<<= operators in python? | Sololearn: Learn to code for FREE! (14)

+ 4

Prom x=5 x<<=2 how to calculate this

12th Jun 2020, 2:00 PM

Thayani Gathirvelou🇱🇰

What's the use of //= ,&= ,|= ,^= ,>>= ,<<= operators in python? | Sololearn: Learn to code for FREE! (15)

+ 4

Thank you friends Now i clearly understand Thank you so much 🙏🙏🙏

12th Jun 2020, 2:10 PM

Thayani Gathirvelou🇱🇰

What's the use of //= ,&= ,|= ,^= ,>>= ,<<= operators in python? | Sololearn: Learn to code for FREE! (16)

+ 4

Ya now iam clear about it

12th Jun 2020, 2:20 PM

Thayani Gathirvelou🇱🇰

What's the use of //= ,&= ,|= ,^= ,>>= ,<<= operators in python? | Sololearn: Learn to code for FREE! (17)

+ 4

13th Jun 2020, 3:04 AM

narayanaprasad

What's the use of //= ,&= ,|= ,^= ,>>= ,<<= operators in python? | Sololearn: Learn to code for FREE! (18)

+ 3

Pls explain what is % in Python

13th Jun 2020, 4:30 AM

Dulshan Thakshila Weeratunge

What's the use of //= ,&= ,|= ,^= ,>>= ,<<= operators in python? | Sololearn: Learn to code for FREE! (19)

+ 3

Thank you all now i clearly understand 🙏🙏🙏🙏

13th Jun 2020, 6:20 AM

Thayani Gathirvelou🇱🇰

What's the use of //= ,&= ,|= ,^= ,>>= ,<<= operators in python? | Sololearn: Learn to code for FREE! (20)

+ 3

👍

9th Jun 2021, 8:40 AM

Tharul Nejana

What's the use of //= ,&= ,|= ,^= ,>>= ,<<= operators in python? | Sololearn: Learn to code for FREE! (21)

What's the use of //= ,&= ,|= ,^= ,>>= ,<<= operators in python? | Sololearn: Learn to code for FREE! (2024)
Top Articles
All About the Barred Plymouth Rock Breed
How To Choose A Card For European Travel | Bankrate
Whas Golf Card
Pnct Terminal Camera
Myexperience Login Northwell
Is pickleball Betts' next conquest? 'That's my jam'
Craigslist Cars And Trucks For Sale By Owner Indianapolis
Jonathon Kinchen Net Worth
Fort Carson Cif Phone Number
From Algeria to Uzbekistan-These Are the Top Baby Names Around the World
Wannaseemypixels
Coffman Memorial Union | U of M Bookstores
Hawkeye 2021 123Movies
Athletic Squad With Poles Crossword
Celsius Energy Drink Wo Kaufen
Fire Rescue 1 Login
Belly Dump Trailers For Sale On Craigslist
Cashtapp Atm Near Me
Grandview Outlet Westwood Ky
Robin D Bullock Family Photos
Azpeople View Paycheck/W2
Heart Ring Worth Aj
Buying Cars from Craigslist: Tips for a Safe and Smart Purchase
Asteroid City Showtimes Near Violet Crown Charlottesville
Smartfind Express Login Broward
130Nm In Ft Lbs
The value of R in SI units is _____?
Autotrader Bmw X5
Golden Tickets
The Wichita Beacon from Wichita, Kansas
Ma Scratch Tickets Codes
Rocketpult Infinite Fuel
آدرس جدید بند موویز
The Mad Merchant Wow
Pensacola 311 Citizen Support | City of Pensacola, Florida Official Website
Chilangos Hillsborough Nj
Aliciabibs
Los Garroberros Menu
Search All of Craigslist: A Comprehensive Guide - First Republic Craigslist
Linda Sublette Actress
Busted Newspaper Campbell County KY Arrests
Fool's Paradise Showtimes Near Roxy Stadium 14
Parent Portal Pat Med
Foxxequeen
Vérificateur De Billet Loto-Québec
Craigslist Rooms For Rent In San Fernando Valley
This Doctor Was Vilified After Contracting Ebola. Now He Sees History Repeating Itself With Coronavirus
Dolce Luna Italian Restaurant & Pizzeria
Smoke From Street Outlaws Net Worth
60 Second Burger Run Unblocked
Nfsd Web Portal
Billings City Landfill Hours
Latest Posts
Article information

Author: Msgr. Refugio Daniel

Last Updated:

Views: 6329

Rating: 4.3 / 5 (54 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Msgr. Refugio Daniel

Birthday: 1999-09-15

Address: 8416 Beatty Center, Derekfort, VA 72092-0500

Phone: +6838967160603

Job: Mining Executive

Hobby: Woodworking, Knitting, Fishing, Coffee roasting, Kayaking, Horseback riding, Kite flying

Introduction: My name is Msgr. Refugio Daniel, I am a fine, precious, encouraging, calm, glamorous, vivacious, friendly person who loves writing and wants to share my knowledge and understanding with you.