1. Take the dating equation program from class and put it in a loop. Pretend you...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1. Take the dating equation program from class and put it in a loop. Pretend you have 3 different dating options so that loop runs three times. You can use either loop as long as you run it three times. Put a count in for the possible date number. Display the output as follows: (The output should be exactly as I have it meaning the blank lines in between. You can change the wording on the lines of "too creepy "or "good luck with your date." Possible Date #1: Enter your age. 80 Enter your love interests age: 30 Are you kidding - you are too creepyl Find someone your own agell. Possible Date #2: Enter your age: 43 Enter your love interest age: 30 The creepiness factor is gonel Good luck with your datel Possible Date #3: Enter your age: 20 Enter your love interest age: 23 The creepiness factor is gonel Good luck with your datel 4 print("Possible Date #1:") 5 yourAge int(input("Enter your age:)Y 6 loveInterestAge- int(input("Enter age of person you wish to date: 7 if loveInterestAge < yourAge / 2+7: print() print("Are you kidding 8. - you are too. creepy Find someone your own agell!") 10 11 else: print ("The creepiness factor is gone! Good Tuck with your datel") 12 13 14 15 1. Take the dating equation program from class and put it in a loop. Pretend you have 3 different dating options so that loop runs three times. You can use either loop as long as you run it three times. Put a count in for the possible date number. Display the output as follows: (The output should be exactly as I have it meaning the blank lines in between. You can change the wording on the lines of "too creepy "or "good luck with your date." Possible Date #1: Enter your age. 80 Enter your love interests age: 30 Are you kidding - you are too creepyl Find someone your own agell. Possible Date #2: Enter your age: 43 Enter your love interest age: 30 The creepiness factor is gonel Good luck with your datel Possible Date #3: Enter your age: 20 Enter your love interest age: 23 The creepiness factor is gonel Good luck with your datel 4 print("Possible Date #1:") 5 yourAge int(input("Enter your age:)Y 6 loveInterestAge- int(input("Enter age of person you wish to date: 7 if loveInterestAge < yourAge / 2+7: print() print("Are you kidding 8. - you are too. creepy Find someone your own agell!") 10 11 else: print ("The creepiness factor is gone! Good Tuck with your datel") 12 13 14 15
Expert Answer:
Answer rating: 100% (QA)
while True oge1 htimput Enten your ape age 2 int input Enter your love intereste age 3D ... View the full answer
Related Book For
Probability and Statistics
ISBN: 978-0321500465
4th edition
Authors: Morris H. DeGroot, Mark J. Schervish
Posted Date:
Students also viewed these accounting questions
-
Factor A Factor B 1 2 3 4 Xj for Factor B 1 2 3 4 1 2500 2 9 10 6 9 8500 3 14 11 16 12 13250 Xi for Factor A 8333 8000 9000 7333 X8083
-
Good Luck Brands reported a carrying value of its total inventory as of December 31, 2013, of $2,047.6 million; the corresponding figure for December 31, 2012, was $1,937.8. Good Luck Brands applies...
-
A study compared three different display panels for use by air traffic controllers. Each display panel was tested in a simulated emergency condition; 12 highly trained air traffic controllers took...
-
The following appliances are connected to a single 120 V, 15 A circuit in a kitchen: a 330 W blender, a 1000 W coffeepot, a 150 W coffee grinder, and a 750 W microwave oven. If these are all turned...
-
As the auditor of Clearwater County you learn that various assets are subject to spending constraints. Indicate how each of the following constraints would affect the countys reported fund balance...
-
Listed below are amounts of strontium-90 in a simple random sample of baby teeth obtained from Pennsylvania residents and New York residents born after 1979. Use a 0.05 significance level to test the...
-
The cumulative foreign currency translation adjustment (CTA) account appears on the balance sheet as a component of accumulated other comprehensive income. The CTA account may have either a positive...
-
Identify the special journal(s) in which the following column headings appear. 1. Sales Discounts Dr. 2. Accounts Receivable Cr. 3. Cash Dr. 4. Sales Cr. 5. Merchandise Inventory Dr.
-
tools for sharing knowledge which include sophisticated data warehouse that have the abillty to
-
Bottle-Up Inc., was organized on January 7, 2008, and made its S election on January 24, 2008. The necessary consents to the election were filed in a timely manner. Its address is 1234 Hill Street,...
-
Lucas Turner is single and has never been married. Lucas earned wages of $25,000 during the first half of the year. Lucas lost his job in July and received a total of $11,000 in unemployment...
-
It has been determined by test that the synchronous reactance Xs and armature resistance raof a 2,300-V, 500-VA, three-phase synchronous generator are 8.0 and 0.1Q, respectively. If the machine is...
-
Explain a contractor's estimating and accounting systems. What are estimating and accounting systems and how are they used?
-
Select a company. Establish an internal leadership blog based on your selected company (a blog for your company employees only) by incorporating the following criteria and using the Leadership Blog...
-
Describe the different operating characteristics of the for profit and not for profit hospital.
-
Integration - Fundamental Theorem variable bounds: Problem 6 (1 point) G(x) = tant dt Find G(1) = = Find G'(4) =
-
Do you think that the use of electronic logs will improve fleet safety within an organization? Why, or why not? What problems, if any, do you think it might cause?
-
Representative data read from a plot that appeared in the paper Effect of Cattle Treading on Erosion from Hill Pasture: Modeling Concepts and Analysis of Rainfall Simulator Data (Australian Journal...
-
Show that there does not exist any number c such that the following function would be a p.f.: for x = 1, 2, . 0 otherwise f(x) r tor x-1.2
-
Consider again the conditions of Exercise 7, and let = 30 + c11, where c1 is a constant. Determine an unbiased estimator For what value of c1 will the M.S.E. of be smallest?
-
Suppose that each adult subject in an experiment is given either treatment I or treatment II. Prove that the proportion of men among the subjects who receive treatment I is equal to the proportion of...
-
Farris Electronics is considering expanding its product line to include portable radios. Management projects that radios would sell for \($60.00\) each. Variable costs are projected to be \($25.00\)...
-
The following information pertains to a product sold by Gomez Company: Instructions: 1. Determine the net income or loss a. if 17,000 units are sold. b. if 20,000 units are sold. c. if 23,000 units...
-
Schenk, Inc., sells desk lamps and desks. The following information is from the June income statement. Schenks management is interested in knowing the number of lamps and desks it must sell to earn...
Study smarter with the SolutionInn App