aligned under each other and written with the same precision the output then becomes formatting via printf syntax we shall frequently use the printf syntax throughout the book so there will be plenty of further examples the modern alternative to printf syntax modern python favors the new format string syntax over printfprint 'at ={ :gsy={ fmformat( =ty=ywhich corresponds to the printf syntax print 'at =% sy= (tythe slots where variables are inserted are now recognized by curly bracesand in format we list the variable names inside curly braces and their equivalent variables in the program since the printf syntax is so widely used in many programming languageswe stick to that in the present bookbut python programmers will frequently also meet the newer format string syntaxso it is important to be aware its existence arrays in the program ball_plot py from we saw how height computations were executed and stored in the variable yand then displayed in plot showing versus ti height versus time the collection of numbers in (or trespectivelywas stored in what is called an arraya construction also found in most other programming languages such arrays are created and treated according to certain rulesand as programmeryou may direct python to compute and handle arrays as wholeor as individual array elements let us briefly look at smaller such collection of numbers assume that the heights of four family members have been collected these heights may be generated and stored in an arraye named hby writing zeros( [ [ [ [ where the array elements appear as [ ] [ ]etc generallywhen we read or talk about the array elements of some array awe refer to them by reading or saying