Skip to content

Instantly share code, notes, and snippets.

@HarunMbaabu
Last active November 10, 2021 05:35
Show Gist options
  • Save HarunMbaabu/e5b32168383718f275d7bd74efda9ffe to your computer and use it in GitHub Desktop.
Save HarunMbaabu/e5b32168383718f275d7bd74efda9ffe to your computer and use it in GitHub Desktop.

Python Boot Camp : Python Basics & Concepts.

Python is an interpreted, high-level language created by Guido van Rossum and released in 1991. It is dynamically typed and garbage collected.

Python programs have the extension .py and can be run from the command line by typing python file_name.py.

Probably its most noticeable characteristic is its use of significant white space to delimit code blocks, instead of the more popular {} symbols.

End-of-line semicolons (;) are optional and usually not used in Python.

Python becomes the best solution in many domains from web applications, data analysis, data science, machine learning, and AI.

Python basics is about the fundamentals programming concepts and deep understanding of the basic building blocks of python programming language. Like the way program reads, the core syntax, and so on.

  1. Basic data types - what strings are, understanding booleans, etc.

Examples: https://colab.research.google.com/drive/18L2xErozYR_H0FQp9qN06OJWahprWSpL?usp=sharing

  1. Variables - you want to understand how these work, and why they are even used in programming

Examples: https://colab.research.google.com/drive/1RCVrxFcHgzyAg4aKYEXif-es7Lfu1JJh?usp=sharing

  1. Control flow - Topics like if, else, elif statements.

  2. Chaining conditionals - understanding its evaluation and syntax.

Examples: https://colab.research.google.com/drive/1ve9UN1FxDKpsN4Aaa28uKpyxcaej5e7o?usp=sharing

  1. Operators - how do we subtract or add 2 variables, what does the modulus operator do, and so on.

Examples: https://colab.research.google.com/drive/1rh442pLZcbaDFpq3Qq3aNvx7vaofpI7m?usp=sharing

  1. Loops and iterables - Things like while loops, for loops, looping through dictionaries, lists, etc. This however lead me smoothly to the next topic

  2. Understanding lists, sets, dictionaries, float, etc. After these you can move on to functions

  3. Functions - They play a vital part in Python. Deep understanding of functions will give you a great foundation for more topics to come.

  4. Mutable and immutable data types

  5. Common methods in Python - like how to change a string to lower case and so on.

@MorrisMuuoMulitu
Copy link

Functions - They play a vital part in Python. A deep understanding of functions will give you a great foundation for more topics to come.

Python game like Tetris - https://levelup.gitconnected.com/writing-tetris-in-python-2a16bddb5318

@HarunMbaabu
Copy link
Author

Thank you Morris for the feed back.

@softmanu-tech
Copy link

Thanks

@rukundob451
Copy link

The concepts mentioned here are the building blocks of becoming a good python developer.

@felix715
Copy link

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment