From 56719f163cb4ae421c35d589fb389026c257a659 Mon Sep 17 00:00:00 2001 From: tteodorescu0 Date: Fri, 21 Jun 2024 17:13:18 -0400 Subject: [PATCH] Update 01.Introduction-to-programming.md Mostly fixed typos --- 01.Introduction-to-programming.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/01.Introduction-to-programming.md b/01.Introduction-to-programming.md index 4d95872..728bf87 100644 --- a/01.Introduction-to-programming.md +++ b/01.Introduction-to-programming.md @@ -19,7 +19,7 @@ Programming is the process of creating a set of instructions that tell a compute ### 1.1 What can you do with programming? -Talking of all opportunities which are opened to you after learning how programming works , you will be able to do the following things: +Talking of all opportunities that are opened to you after learning how programming works, you will be able to do the following things: 1. **Solve Problems**: Programming can be used to model and solve complex problems in fields like `finance`, `engineering`, and `medicine`. @@ -35,7 +35,7 @@ Talking of all opportunities which are opened to you after learning how programm ## 2. Overview of Python -Choosing `Python` as your first language opens a world where coding is not just accessible, but also very enjoyable and rewarding. +Choosing `Python` as your first language opens a world where coding is not just accessible but also very enjoyable and rewarding. | Aspect | Details | | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | @@ -208,7 +208,7 @@ Naah, I am too lazy to work, let's go to pub! The `print()` function in `Python` has optional arguments `sep` and `end` which offer _more control_ over the formatting of the output. -| Argument | Purporse | +| Argument | Purpose | | -------- | ------- | | sep | Specifies the separator _between_ the values. By default, it is a `space`. | | end | Specifies what to print at the `end`. By default, it is a newline character `(\n)`.| @@ -281,14 +281,14 @@ In `Python`, declaring variables is pretty straightforward, you just need to as ```python print("Hello, what is your name?") -# At this stage the programm is awaiting the input from user which we store in the variable called ``name`` and we can use it later +# At this stage the program is awaiting the input from user which we store in the variable called ``name`` and we can use it later name = input() print('Hello,', name, "it is nice to see you!") ``` #### Explanation -In the example above we can see that the programm is executed line by line, because `Python` is an interpretted language and it is very important to understand, that before executing the line `Hello , it is nice to see you!` it freezes, until the user is prompted to input their `name` +In the example above we can see that the program is executed line by line, because `Python` is an interpreted language and it is very important to understand, that before executing the line `Hello , it is nice to see you!` it freezes, until the user is prompted to input their `name` #### Output @@ -324,7 +324,7 @@ Output: #### Assignment 2: Order Summary -**Objective:** Create a program that asks for the user's adress, the item they are purchasing, and the cost. Then, print a summary of their order. +**Objective:** Create a program that asks for the user's address, the item they are purchasing, and the cost. Then, print a summary of their order. ``` Input: @@ -447,7 +447,7 @@ Barcelona is a champion! ### Task 5: Repeat after me -**Objective**: Create a Python program that captures three lines of text, one at a time, and then prints them out in reverse order. +**Objective**: Create a Python program that captures three lines of text, one at a time, and then prints them out in the same order. ```python