Last Sync: 2022-10-04 12:00:05

This commit is contained in:
tactonbishop 2022-10-04 12:00:05 +01:00
parent 97a629d77d
commit 3a5f5a4909
2 changed files with 32 additions and 0 deletions

View 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

View 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
```