Question: Set a large enough square - shaped flower bed. Write a function size _ flower _ bed ( ) that inputs the number of flowers
Set a large enough squareshaped flower bed. Write a function sizeflowerbed that inputs the number of flowers that should be in the flower bed, as a minimum, and prints the minimum number of flowers that should be on each side. Since the sides of the flower bed are all equal, a single number will be printed. All numbers of flowers should be integers: there are no fractional flowers in the flower bed! Hint: to truncate a number x up instead of down, use this formula: intx Example usage: Hang decorative banners along the perimeter of the backyard. Write a function howmanybanners The function inputs the length of each banner and the perimeter of the area where to hang the banners. Calculate how many banners you will need, as a minimum, so they will touch each other. The length and perimeter should be floats but the minimum number of banners should be an integer. Hint: the integer division operations and work for floats just like for integers
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
