This is a simple script that includes basic Python examples structured into independent blocks of code
© 2023 Daniel Pinheiro Maia All Rights Reserved
(see Copyright© License at the end of this text).
[Description of this repository]
This is a simple script that includes many of the basic syntax and functionalities of Python, structured into separate blocks of commented pieces of code (one block for each example). You can uncomment them, one at a time, for running the exemplified use case at a valid Python IDE - as PyCharm.
The content and examples of this script include:
- input and output (print() function)
- strings and manipulating methods (including formatter)
- data types and conversions
- data structures (lists, dictionaries, sets, tuples) and methods
- conditional statements (if, elif, else, continue, break, pass)
- logical operators
- recursiveness (for, while, range, enumerate)
- custom functions and arg types (positionals, varargs, kwargs, defaults)
- scope (global, local, nonlocal, in-built)
- functional programming (map, filter, zip, reduce)
- comprehensions (list comprehensions, set comprehensions, dict comprehension)
[Source Code and Run]
Source code available at github.com, through the following link:
https://github.com/danielpm1982/python-basic-syntax
[Copyright© License]
© 2023 Daniel Pinheiro Maia All Rights Reserved
This GitHub repository - and all code (software) available inside - is exclusively for academic and individual learning purposes, and is NOT AVAILABLE FOR COMMERCIAL USE, nor has warranty of any type. You're authorized to fork, clone, run, test, modify, branch and merge it, at your own risk and using your own GitHub account, for individual learning purposes only, but you're NOT ALLOWED to distribute, sublicense and/or sell copies of the whole or of parts of it without explicit and written consent from its owner / author. You can fork this repository to your individual account at GitHub, clone it to your personal notebook or PC, analyse, run and test its code, modify and extend it locally or remotely (exclusively at your own GitHub account and as a forked repository), as well as send issues or pull-requests to this parent (original) repository for eventual approval. GitHub is in charge of explicitly showing whom this respository has been forked from. If you wish to use any of this repository content in any way other than what is expressed above, or publish it anyway or anywhere other than as a forked repository at your own GitHub account, please contact this repository owner / author using GitHub or the contact info below. For the meaning of the technical terms used at this license, please refer to GitHub documentation, at https://help.github.com/en/github .
[Owner and Author of this GitHub Repository]
Daniel Pinheiro Maia
danielpm1982.com
danielpm1982@gmail.com
linkedin.com/in/danielpm1982
Brazil
.