Module Project Fop
Module Project Fop
Name:
Directions
If you are up for a programming challenge, read on. If not, take a deep breath and then read on. You will
use the software development life cycle (SDLC) to create a working program of your choice that will test
Boolean conditions based on user input. Your program can include any Python skills and functions you
have learned up to this point.
If you were going to create a club, what would it be and how could people join? Think about the
membership requirements. Would members have to be between certain ages? Would they have to like
certain things? Would they need certain skills? Because you are president of the club, you get to decide
the criteria! (Just make sure the conditions are school appropriate.)
2. 2. List the conditions (at least 3) to be a member of your club. Remember you have learned
about if, if-else, elif, and logical operators (and, or, not), so you can test for just about anything.
Saving money makes people smile! So, your job is to spread the cheer by coming up with a discount
plan. For example, maybe people who are under 18 with honor roll get $5 off the admission price.
Maybe you want to reward honor roll students, military personnel, or state residents with free parking.
Since this is your discount plan, you get to decide the criteria. (Just make sure the conditions are school
appropriate.)
1. 1. Choose a place (amusement park, movie theatre, sporting event, online store, etc.) and
explain your discount program.
2. 2. List the conditions (at least 3) to qualify for a discount. Remember you have learned
about if, if-else, elif, and logical operators (and, or, not), so you can test for just about anything.
• • Input statements
• ♣ Three input statements requesting data (numeric or non-numeric) from the user
• ♣ Use of the int() and float() functions, if needed
• • Decision statements
• ♣ One if, if-else, or elif statement
• ♣ One logical operator (and, or, not) in a Boolean condition
• • Output statements
• ♣ Create clear and well organized output to display messages that show the user’s
input and the results of the decision statements.
• ♣ Show proper use of the str() function, if needed.
• • Optional
• ♣ Use a list to store values.
Input
Output
If all conditions are met, tell the user that they qualify for membership.
Tell the user which condition they did not meet if any condition is not met.
Example of expected output: The output for your program should resemble the following screen shot.
Your specific results will vary depending on the choices you make and the input provided.
# Date: 7/5/2024
# Description: This program checks if a user qualifies for membership in the Eco Explorers Club based on
certain criteria.
def main():
# Input Statements
volunteering = input("Can you commit to volunteering at least once a month? (yes/no): ")
print("Application Summary:")
# Decision Statements
if (interest == "yes"):
if (volunteering == "yes"):
else:
else:
else:
print("You need to be older than 18 and younger than 90 years to qualify for membership.")
main()