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 / nashiinformaticssolutions

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

How do you iterate over a list and pull element indices at the same time?

1040


What does map function in python do?

1018


What is pass in python? What are the differences between pass and continue?

887


Can I learn python on my own?

873


What is an abstract class in python?

911


What is polymorphism in python?

878


Does python have inheritance?

815


What is the process to calculate percentiles with numpy?

841


How can you handle multiple exception in python?

985


What do you mean by list comprehension in python?

935


Is python 3gl or 4gl?

914


Why do we say “a b c = 1000 2000 3000” is an invalid statement in python?

903


What is the output of print str * 2 if str = 'hello world!'?

1818


Can you write an efficient code to count the number of capital letters in a file?

832


What is instance method?

894