OCR GCSE Computer Science · J277
Paper 2
Revise: Use of Data TypesA real value can have a fractional part, such as
12.47seconds or a temperature of-2.5degrees Celsius. Python represents real-number values using its float type. A float can also represent a value such as5.0: the value need not have a non-zero fractional part.