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 1 of 4
int, real, bool, char, string.
Every value in Python has a data type. The most common are int (whole numbers), float (decimals), str (text), and bool (True/False). Use type() to check.
int: whole numbers like 5, -3float: decimals like 3.14, -0.5str: text in quotes like "hello"bool: True or Falsetype() returns the data type of a valueage = 15 # int
price = 9.99 # float
name = "Alice" # str
passed = True # bool
print(type(age)) # <class 'int'>Back to Data Types and Casting
Specification notes for programming are in Paper 2.