all things to learn in python code example

Example 1: how to learn python

"""
Great foundation for basics 
https://www.w3schools.com/python/default.asp"
"""

Example 2: how to learn python

# Heya! Let me teach you the basics.
print("Hello, World!") # Look, your Python hello world program!
x = "y" # Set global variable x to a string, "y"
#-IMPORTS--
import MyModule # Imports a module called MyModule.
#--PIP--
#Use powershell, cmd, bash, etc and run:
pip install MyModule # Installs MyModule!
#--Functions--
def MyFunc():
  # My Code!
#--COMMENTS--
# Comments start with a hashtag and work for 1 line. multiple lines can use """ at the beginning and """ at the end.

# Thank you!

Tags:

Misc Example