Question: Your function has three inputs, one boolean ( input 1 ) and two integers ( input 2 / input 3 ) ## Create a list
Your function has three inputs, one boolean input and two integers inputinput
## Create a list using input and input
## List will the length of input and filled with values matching input save this object as "resultlist"
## if the sum of resultlist is greater than input enter a new code block, else return True
## Inside the new if statement:
## creat a variable named "var with the value of
## Write a for loop to iterate upon resultlist and have the iterator variable be named i
## Inside the loop
## Multiply input by input save the results to the variable "var
## Divide var by and reassign the value.
## if var is greater than return True else return falseYour function has three inputs, one boolean input and two integers inputinput
## Create a list using input and input
## List will the length of input and filled with values matching input save this object as "resultlist"
## if the sum of resultlist is greater than input enter a new code block, else return True
## Inside the new if statement:
## creat a variable named "var with the value of
## Write a for loop to iterate upon resultlist and have the iterator variable be named i
## Inside the loop
## Multiply input by input save the results to the variable "var
## Divide var by and reassign the value.
## if var is greater than return True else return false
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
