# -----------------------------------------+ # Your name | # CSCI 107, Assignment 7 | # Last Updated: Month Day, Year | # -----------------------------------------| # A brief description of the assignment. | # -----------------------------------------+ # The missing function and its comment go here. # ----------------------------------------- def main(): precision = float(input("Enter desired precision for pi/4 estimate: ")) maximum_trials = int(input("Enter the maximum number of trials: ")) print("Final estimate of pi =", leibniz_pi_estimate(precision, maximum_trials)) # ----------------------------------------- main()