import some_module as sm from some_module import pi as pig as gf sm (pir gf( pibinary operators and comparisons most of the binary math operations and comparisons are as you might expectin [ ] out[ ]- in [ ] out[ ] in [ ] < out[ ]false see table - for all of the available binary operators to check if two references refer to the same objectuse the is keyword is not is also perfectly valid if you want to check that two objects are not the samein [ ] [ in [ ] notethe list function always creates new list in [ ] list(ain [ ] is out[ ]true in [ ] is not out[ ]true note this is not the same thing is comparing with ==because in this case we havein [ ] = out[ ]true very common use of is and is not is to check if variable is nonesince there is only one instance of nonein [ ] none in [ ] is none out[ ]true table - binary operators operation description add and subtract from multiply by divide by / floor-divide by bdropping any fractional remainder the basics www it-ebooks info