From b1acb68c7d05fccad4df5e76cdac5bfe81d4bca8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D1=80=D0=B0=D0=B3=D0=B0=D0=BD=20=D0=8B=D0=B0=D1=98?= =?UTF-8?q?=D0=B8=D1=9B?= Date: Mon, 30 Dec 2024 12:59:02 +0100 Subject: [PATCH] ~ extra `blank` (space) & '`s`' --- data/part-1/4-arithmetic-operations.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/part-1/4-arithmetic-operations.md b/data/part-1/4-arithmetic-operations.md index 9ad16eaf7..b65426122 100644 --- a/data/part-1/4-arithmetic-operations.md +++ b/data/part-1/4-arithmetic-operations.md @@ -103,7 +103,7 @@ A string can be converted into an integer with the function `int`. The following ```python input_str = input("Which year were you born? ") year = int(input_str) -print(f"Your age at the end of the year 2021: {2021 - year}" ) +print(f"Your age at the end of the year 2021: {2021 - year}") ``` @@ -119,7 +119,7 @@ year = int(input("Which year were you born? ")) print(f"Your age at the end of the year 2021: {2021 - year}" ) ``` -Similarly, a string can be converted into a floating point number with the function `float`. This programs asks the user for their height and weight, and uses these to calculate their BMI: +Similarly, a string can be converted into a floating point number with the function `float`. This program asks the user for their height and weight, and uses these to calculate their BMI: ```python height = float(input("What is your height? "))