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.4 Data Types and Casting
Practise exam questionsData Types and Casting — Note 2 of 4
Select correct data types.
Choosing the right data type matters for correctness and efficiency. Use int for counting, float for measurements, str for text, and bool for yes/no decisions.
int for quantities you count (lives, score)float for measurements (height, price)str for any text or mixed charactersbool for flags and conditionslives = 3 # int — count of lives
height = 1.75 # float — measurement
postcode = "SW1" # str — contains letters
is_admin = False # bool — yes/no flagBack to Data Types and Casting
Specification notes for programming are in Paper 2.