diff --git a/P3- Writing comments in Python.md b/P3- Writing comments in Python.md index a17e9ac..b888e12 100644 --- a/P3- Writing comments in Python.md +++ b/P3- Writing comments in Python.md @@ -39,3 +39,5 @@ print(str(x)) # printing 'x' as a string rather than an integer 2) Adding explanatory note of a source code 3) Comment a part of the code during testing 4) Adding a plan regarding the design of a source code +5) Other programmer or user get help to understand the code +6) Able to comment exact function of the code. diff --git a/P4- Variables and Data Types.md b/P4- Variables and Data Types.md index 0d965c2..162a8d1 100644 --- a/P4- Variables and Data Types.md +++ b/P4- Variables and Data Types.md @@ -13,6 +13,8 @@ Suppose, we wanted to change the name and age of the person. We would have to go ```python variable_name = data ``` +Basically veriable is container where we can store diffrernt types of data . +That data can be integer, float, string, character... etc Now, the type of data we store in a variable specifies the data type of a variable. A data type of a variable is the type of data stored by a variable. Some most used data types are- 1) String(str) - A string of characters diff --git a/README.md b/README.md index 04d8064..d109a4b 100644 --- a/README.md +++ b/README.md @@ -17,3 +17,4 @@ This lesson explains the concepts of commenting, single-line and multi-line comm This lesson covers the concepts of variables and data types. It also discusses about basic concepts of strings and problems faced by a newbie. ## Lesson 5 +This lesson is about strings in python . It contain basic examples. Accessing element , accessing words in string or indexing in strings and reversing string