Date

Due: Wednesday, September 14, 11:00 AM

Write a program called dating.py that can tell you the age range of people you can date.

There is a folk rule that says you can date people as young as half your age plus seven years old. This suggests they can date you if they are as old as twice your age minus thirteen. [https://en.wikipedia.org/wiki/Age_disparity_in_sexual_relationships#The_.22half-your-age-plus-seven.22_rule]

An example run of the program might look like:

How old are you? 17
You can date people between 15 and 21 years old

Another run might look like:

How old are you? 70
You can date people between 42 and 127 years old

Please match our prompts, etc, exactly. Your program should work for any integer age ≥ 14 that we provide.

Submission: Please submit one .py file named dating.py to the POTD submission system at https://archimedes.cs.virginia.edu/cs1110/.