Skip to content

Commit 9630be4

Browse files
Built-in Datatypes in Python
1 parent ffc1f42 commit 9630be4

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

README.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,52 @@ Python Programs
2222
6- Paste In README.md
2323
7- Do not forget to close the issue
2424

25+
### Built-in Datatypes in Python:
26+
```python
27+
#string
28+
ll5="2526loves7652626"
29+
30+
#int
31+
nelanilwthpo = 557
32+
33+
#float
34+
cstsffb = 37.5
35+
36+
#complex
37+
cstsffb = 2j
38+
39+
#list
40+
nelanldj = ["dj", "pola626", "llp"]
41+
42+
#tuple
43+
cstsffb = ("cstsf", "csftn")
44+
45+
#range
46+
range(3)
47+
48+
#dictionary keyword: dict
49+
cstsffb = {"name": "pascal32"}
50+
51+
#set
52+
cstsffb = {"llp32", "pascal32"}
53+
54+
#fronzenset
55+
cstsffb = fronzenset({"pintos", "pascal"})
56+
57+
#bool
58+
lovesbarbdl = True
59+
60+
#bytes
61+
cstsffb = b"PurePascalFB"
62+
63+
#bytearray
64+
bytearray = 5
65+
66+
#memoryview
67+
cstsffb = memoryview(bytes(7))
68+
69+
```
70+
2571

2672
## How to create A virtual Environment In Python
2773
```bash

0 commit comments

Comments
 (0)