''' Purpose: demonstrate mixed arithmetic ''' # name some values a = 13 x = 5.25 print( "a =", a ) print( "x =", x ) input() # display some integer calculations print( 'Mixed arithmetic' ) total = a + x difference = a - x product = a * x dec_quotient = a / x int_quotient = a // x remainder = a % x power = a ** x print( 'a + x =', total ) print( 'a - x =', difference ) print( 'a * x =', product ) print( 'a / x =', dec_quotient ) print( 'a // x =', int_quotient ) print( 'a % x =', remainder ) print( 'a ** x =', power ) print()