You are on page 1of 1

EXERCISE’S 2 – CONDITIONAL STATEMENTS

1. Write a program that gives the weather depending on the day the user inputs. For example,
it may be raining on Monday, but sunny on Wednesday. (If/elif/else)

2. Expand upon the login program so that it allows the user to create a new account, include
the ability to add a security question, in case they forget their password.

3. Write a program in which a random number is chosen and the user must guess whether it is
odd or even.

- Don’t be disheartened if you don’t get 3! It’s for the advanced users only, it’s meant to
be difficult.

You might also like