|
1 | 1 |
|
2 | | -#Numbers: Python has three types of numbers: integer, float, and complex. An integer is a whole number, a float is a number with a decimal point, and a complex number is a number with a real and imaginary part. |
| 2 | +#Numbers: Python has three types of numbers: integer, float, and complex. An integer is a whole number, |
| 3 | +# a float is a number with a decimal point, and a complex number is a number with a real and imaginary part. |
3 | 4 |
|
4 | | -#Strings: A string is a sequence of characters, such as a word or a phrase. You can create a string by enclosing a series of characters in single or double quotes. |
| 5 | +#Strings: A string is a sequence of characters, such as a word or a sentence. You can create a string by |
| 6 | +# enclosing a series of characters in single or double quotes. |
5 | 7 |
|
6 | | -#Lists: A list is an ordered collection of values that can be of any data type. You can create a list by enclosing a series of values in square brackets and separating them with commas. |
| 8 | +#Lists: A list is an ordered collection of values that can be of any data type. You can create a list by |
| 9 | +# enclosing a series of values in square brackets and separating them with commas. |
7 | 10 |
|
8 | | -#Tuples: A tuple is similar to a list, but it is immutable, which means that you cannot modify the values in a tuple once it has been created. You can create a tuple by enclosing a series of values in parentheses and separating them with commas. |
| 11 | +#Tuples: A tuple is similar to a list, but it is immutable, which means that you cannot |
| 12 | +# modify the values in a tuple once it has been created. You can create a tuple by enclosing a |
| 13 | +# series of values in parentheses and separating them with commas. |
9 | 14 |
|
10 | | -#Dictionaries: A dictionary is a collection of key-value pairs. You can create a dictionary by enclosing a series of key-value pairs in curly braces and separating them with commas. |
| 15 | +#Dictionaries: A dictionary is a collection of key-value pairs. You can create a dictionary by enclosing |
| 16 | +# a series of key-value pairs in curly braces and separating them with commas. |
11 | 17 |
|
12 | | -#Sets: A set is an unordered collection of unique values. You can create a set by enclosing a series of values in curly braces and separating them with commas. |
| 18 | +#Sets: A set is an unordered collection of unique values. You can create a set by enclosing a |
| 19 | +# series of values in curly braces and separating them with commas. |
13 | 20 |
|
14 | 21 | #Booleans: A Boolean value is either True or False. |
15 | 22 |
|
|
0 commit comments