Last Sync: 2022-10-04 12:00:05
This commit is contained in:
parent
97a629d77d
commit
3a5f5a4909
2 changed files with 32 additions and 0 deletions
15
Programming_Languages/Python/Data_types.md
Normal file
15
Programming_Languages/Python/Data_types.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
title: Python datatypes
|
||||
categories:
|
||||
- Programming Languages
|
||||
tags: [python]
|
||||
---
|
||||
|
||||
# Python datatypes
|
||||
|
||||
The core datatypes are as follows:
|
||||
|
||||
- str
|
||||
- bool
|
||||
- float
|
||||
- double
|
17
Programming_Languages/Python/Naming_conventions.md
Normal file
17
Programming_Languages/Python/Naming_conventions.md
Normal file
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
title: Python naming conventions
|
||||
categories:
|
||||
- Programming Languages
|
||||
tags: [python]
|
||||
---
|
||||
|
||||
# Python naming conventions
|
||||
|
||||
## Underscores
|
||||
|
||||
To name a variable or method with multiple words we use underscores to separate each word.
|
||||
|
||||
```python
|
||||
an_int = 32
|
||||
print(an_integer.is_integer) # true
|
||||
```
|
Loading…
Add table
Reference in a new issue