Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are the various types of operators in Python?

Answer Posted / glibwaresoftsolutions

Arithmetic operators**: `+`, `-`, `*`, `/`, `//`, `%`, `
Relational operators**: `==`, `!=`, `<`, `>`, `<=`, `>=`
Logical operators**: `and`, `or`, `not`
Bitwise operators**: `&`, `|`, `^`, `~`, `<<`, `>>`
Identity operators**: `is`, `is not`
Membership operators**: `in`, `not in`
Assignment operators**: `=`, `+=`, `-=`, `*=`, `/=`, etc.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

list some of the data science libraries in python

840


What is the difference between methods & constructors?

951


How can you keep track of different versions of code?

871


What is the difference between list and tuple?

967


What is python known for?

979


How to read a 10gb (or larger) file size in python?

789


Write a code to display the current time.

884


How do you sort a list alphabetically in python with sort function?

781


Explain assert in action?

838


What does the meaning of gil in python language?

901


How do I reverse the range of a python order?

856


Which method is used to arrange the items in a list in ascending order in python?

800


What is the difference between range () and xrange () in python 3?

858


How to check the string consists of alphanumeric characters ?

978


How would you check if MySQLdb is installed?

1023