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

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!