Skip to content

Patch 1 #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: Triangle-edit
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions P3- Writing comments in Python.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 2 additions & 0 deletions P4- Variables and Data Types.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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