the sequence of commands print 'yankees rule!print 'but not in boston!print 'yankees rule,''but not in boston!causes the interpreter to produce the output yankees rulebut not in bostonyankees rulebut not in bostonnotice that two values were passed to print in the third statement the print command takes variable number of values and prints themseparated by space characterin the order in which they appear objectsexpressionsand numerical types objects are the core things that python programs manipulate every object has type that defines the kinds of things that programs can do with objects of that type types are either scalar or non-scalar scalar objects are indivisible think of them as the atoms of the language non-scalar objectsfor example stringshave internal structure python has four types of scalar objectsint is used to represent integers literals of type int are written in the way we typically denote integers ( - or or float is used to represent real numbers literals of type float always include decimal point ( or or - (it is also possible to write literals of type float using scientific notation for examplethe literal stands for * it is the same as you might wonder why this type is not called real within the computervalues of type float are stored in the computer as floating point numbers this representationwhich is used by all modern programming languageshas many advantages howeverunder some situations it causes floating point arithmetic to behave in ways that are slightly different from arithmetic on real numbers we discuss this in section bool is used to represent the boolean values true and false none is type with single value we will say more about this when we get to variables objects and operators can be combined to form expressionseach of which evaluates to an object of some type we will refer to this as the value of the expression for examplethe expression denotes the object of type intand the expression denotes the object of type float in python print is function rather than command one would therefore write print('yankees rule!''but not in boston' yesatoms are not truly indivisible howeversplitting them is not easyand doing so can have consequences that are not always desirable