This is a test version of Biostars. For the public version, visit https://www.biostars.org.
If statement of Python

To enter a roller coaster the passengers must be at least 10 years old and at least 130cm tall. If they are accompanied by a guardian, they can enter at the age of 8, but must still be at least 130cm tall. Write a program that asks the user to input all relevant information and outputs whether the passenger is allowed on the roller coaster.

python ifstatement

Hello jansha.1997!

We believe that this post does not fit the main topic of this site.

Seems like an assignment and you do not show any effort. Consider StackExchange and show them what you tried.

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

If you disagree please tell us why in a reply below, we'll be happy to talk about it.

Cheers!

0 answers

No answers yet.

Log in to answer this question.