For more courses visit : https://www.edyoda.com/
Like every other programming language, python also provides the set of operators to perform arithmetic and logical calculations. In this video we will go through python Arithmetic, Logical, Comparison, Assignment, Membership and Identity operators. We will see the difference between == (comparison operator) and is (identity operator). We will see how to use membership operators to check if element is present in any iterable datatype.
Try it yourself:
Check if two strings, s1 = "Python" and s2 = 'python' are equal or not
Check if remainder of 243 divided by 3 is zero
Check if "Python" is present in the list programming_languages = ["C","Java","python"]
Check if 44 is divisible by 2 and 4 both
Declare a variable num1 = 50 and increment the value by 5, decrement the value by 10 and print the answer
In questa pagina del sito puoi guardare il video online Everything you need to know about python operators della durata di ore minuti seconda in buona qualità , che l'utente ha caricato EdYoda 04 marzo 2019, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 365 volte e gli è piaciuto 3 spettatori. Buona visione!