Programming for ML with no experience — if you can type, you can begin
Python keeps two kinds of numbers, and the difference is the same one you use at the market. Some things you count: 3 eggs, 12 apples, whole numbers with nothing after them. Some things you measure: 1.5 litres of milk, 0.75 kilograms of flour, amounts that need a decimal point. Python calls the counting kind int (integer) and the measuring kind float. Text, from the Strings lesson, is a third kind: str.
🔒 This is a Pro lesson — the interactive figure, worked examples, quiz and practice open with Pro access.
▶ Decimals & Types