Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/babyanonymouse/rita-africa
Learning Python
https://github.com/babyanonymouse/rita-africa
pycharm python3
Last synced: 1 day ago
JSON representation
Learning Python
- Host: GitHub
- URL: https://github.com/babyanonymouse/rita-africa
- Owner: babyanonymouse
- Created: 2025-01-16T08:53:55.000Z (3 days ago)
- Default Branch: master
- Last Pushed: 2025-01-16T09:52:19.000Z (3 days ago)
- Last Synced: 2025-01-16T11:01:23.872Z (3 days ago)
- Topics: pycharm, python3
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python Lesson | RITA Africa
learning how to python from the video lessons
## Scratch
### Data Types
- int - 20
- bool - 'true' or 'false'
- str - 'this'
- float - 3.14- you can use `print(type(variable_name))`to know the nature of the data
- variables use snake-case naming system (this_variable)### Input
use the input function to prompt the user to enter values
```python
name = input("Enter your name: ")
print("Hello, " + name + "!")
```### `is` and `in`
- `is` checks if the two values refer to same object in the memory
- `in` checks whether the value exists in a collection(list, tuples, etc.)