Friday 20 December 2019

Python for beginners

Python was conceived in the late 1980s by Guido van Rossum at Centrum Wiskunde & Informatica (CWI) in the Netherlands as a successor to the ABC language.
Python strives for a simpler, less-cluttered syntax and grammar 
(Wikipedia)
The name comes from Monty Python's Flying Circus.

I've picked this channel ... looks well thought out. .... CS Dojo

This post covers installation, IDEs, if, else statements, variables and functions.
Really basic stuff to get you started.
I'll add to it over time.

Episode 1 - What are variables?
+ https://www.youtube.com/watch?v=Z1Yd7upQsXY

A variable is a reserved memory location.
It gives data to the computer for processing.
Data has many forms or types.
They can be: Numbers, Lists, Tuple, Strings, Dictionary, etc
Python supports two types of numbers - integers and floating point numbers.
Strings are defined either with a single quote or a double quotes.


Episode 2 - How to Use If Else Statements in Python (Python Tutorial #2)


elif ........... means "else if"


BMI calculator

Episode 3 - How To Use Functions In Python (Python Tutorial #3)

  def .... define
 def function1():
Using functions with a collection of code
Mapping
multiple arguments or inputs in a single function 
BMI calculator


 

---------------------------------------------------------------------------------------
Links
+Download Python
https://www.python.org/
+ PYO - Ajaz sound studio
+ Wikipedia
+ https://www.simplifiedpython.net/

Basics.
Choosing a IDE(integrated Development Enviroment)
 https://www.simplifiedpython.net/6-best-python-ides/
+ PyCharm
+ Anaconda 


Tutorial Videos
+ CS DoJo
+ https://www.youtube.com/watch?v=_uQrJ0TkZlc 


No comments:

Post a Comment