Signed up recently but had issues with the confirmation email?
Click Forgot password and follow the reset steps. You can choose the same password you used when you signed up. This should then provide access.
Remember to check Spam and Junk. The email will be from auth@progressbytes.co.uk.
301.7 Maintainable Code
Practise exam questionsMaintainable Code — Note 4 of 4
Improve messy examples.
Tidy code uses meaningful names, consistent indentation, and helpful comments. You should be able to read messy code and rewrite it following best practices without changing its behaviour.
# MESSY
x=int(input())
if x>10:
print("big")
# TIDY
user_number = int(input("Enter a number: "))
if user_number > 10:
print("That number is big")Specification notes for programming are in Paper 2.