Number Exercises
Write a method,
#division_plus_remainder, that accepts two integers,big_intandsmall_int, as arguments. Your method should find the number of timessmall_intcompletely divides intobig_int, and then add the remainder that's left over. For example,divisor_plus_remainder(7, 2)should equal4.Write a method
#divide_two_places, that accepts two floats,big_floatandsmall_float, as arguments. Your method should dividebig_float/small_floatand round to two decimal places.Test your order of operations knowledge! You don't need to write any code here! Use
pryto test your answer. Solve this expression:5 + 3 * 3 ** 2 + ( 9 - 2 ** 2 ) ** 2