-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
30 lines (27 loc) · 912 Bytes
/
main.py
File metadata and controls
30 lines (27 loc) · 912 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
"""
1.favourite colour
Ask the user to enter their favourite colour.
If they enter “blue”, “BLUE” or “Blue” display the message
“I like blue too”,
otherwise display the message
“I don’t like [colour],
I prefer blue”.
"""
"""
2.length first name
Ask the user to enter their first name
and then display the length of their name.
upload program file to GitHub and past the link.
"""
"""
3.upper case
Ask the user to type in any word and display it in upper case.
"""
"""
4.user age
Ask the user’s age.
If the yare 18 or over, display the message “You can vote”,
if they are aged 17, display the message “You can learn to drive”,
if they are 16, display the message “You can buy a lottery ticket”,
if they are under 16, display the message “You can go Trick or-Treating”.
"""