Python Challenges +7+ 10
Python Challenges +7+ 10
Challenge 7
Challenge 7 You will need to
Write a program that: use:
• asks the user how long on average Selection
they spend watching TV each day
• if it is less than 2 hours, outputs
‘That shouldn’t rot your brain too
Variables
much’; if it is less than 4 hours per
day, outputs ‘Aren’t you getting
square eyes?’; otherwise outputs
‘Fresh air beats channel flicking’
Difficulty:
© ZigZag Education,
2
Python
Challenge 7
Challenge 7 Answer
Difficulty:
© ZigZag Education,
2
Python
Challenge 8
Challenge 8 You will need to
Write a program that: use:
• converts and outputs marks into Selection
grades, using the following data:
Difficulty:
© ZigZag Education,
2
Python
Challenge 8
Challenge 8 Answer
Difficulty:
© ZigZag Education,
2
Python
Challenge 9
Challenge 9 You will need to
Write a program that: use:
• asks the user to name one of the Selection
Olympic Values (Respect, Excellence
and Friendship)
• if they correctly name one, output
Variables
'That’s correct‘, otherwise output 'Try
again'
Difficulty:
© ZigZag Education,
3
Python
Challenge 9
Challenge 9 Answer
Difficulty:
© ZigZag Education,
3
Python 1
Challenge 0
Challenge 10 You will need to
Write a game that: use:
• allows the user to play rock, paper, Selection
scissors against the computer
• must display the computer’s choice
and show the result of the game
Variables
Difficulty:
© ZigZag Education,
3
Python
10
Challenge
Challenge 10 Answer
Difficulty:
© ZigZag Education,
3