Towew / python-cheat-sheet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python Cheat Sheet (Not For Beginners)

*Disclaimer: Make sure that you're at least understand the basics of coding before you access this

py-icon

How to Setup

Download Python at this link!

or you can use Mac and Brew and run this command

# Install python version manager
brew install pyenv

# Install latest python (example)
pyenv install 3.11.0 

and see this link. to setup your python or pip path

Install Python by Microsoft extension if you're using VSCode

By this link. It will direct you to Python extension that is compulsory if you're using VSCode to code python.

or...

You can just install it through VSCode Extenstion menu.

python-extension-image

How to run code?

After everything installed, you can access a file and click the play button on the top right of your VSCode to run python code in terminal.

python-run-guide

File Guide (Sorted by the Basics to Advance)

  1. data-and-basics.py
  2. inputs.py
  3. arithmetic-operators.py
  4. string-methods.py
  5. conditional-operators.py
  6. if-statement.py
  7. array-list-of-data.py
  8. loop-iteration.py
  9. objects-dictionaries.py
  10. functions.py

About


Languages

Language:Python 100.0%