Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I am creating an exercise program that will ask a person what their goal (overal

ID: 2247635 • Letter: I

Question

I am creating an exercise program that will ask a person what their goal (overallGoal.lower()), is:lose weight or gain muscle. For example, lets say they chose lose weight, I then ask them to enter their goal weight in two weeks if they chose a biweekly (biweeklyWeight) plan vs monthlyWeight. Is there some sort of module that would only spring this question up after a time frame of two weeks in the event of a biweekly plan and only request input after a literal months time in the case of a monthly plan? How would I write that in? I am also awarding points if they reached their biweekly plan or monthly plan goals. But, I want it not to prompt the user for their new weight until the time frame has reached. Or, am I even thinking about this correctly. Below, is the portion of rough code I'm working on but I don't know how to write a time function in. Please assist.

if eq(overallGoal.lower(), "lose weight"):

actualWeight= int(input("Please enter your current weight in pounds."))

if (biweeklyWeight <= actualWeight):
wghtlssbiwkPts=0
points= wghtlssbiwkPts + 250

else:
print("I'm sorry but you did not reach your biweekly goal.")

Explanation / Answer

The way you are thinking to create this program(script) is not be practically possible, you want your program to halt for a whole week and then continue execution,

You should know that for this you have to keep your script running , and keep your computer system running, you can not close the script or computer for two weeks.

As this is a program just to simulate the programming logic for weeks and monthly body weight measurement, so you should take the input without delay assuming that required time period has elapsed.