Python Tutorial 6 Control Structures: if statement

2 years ago
53

We will build a program with conditional statements: if, elif, else in python with linux and mobaxterm.

UPDATE: This tutorial was for Python 2.7. If you're using Python 3, to run a program you'll need to type python3 program_name.py.
Also printing is a little different in python 3, example: you would need Print ("Hello World") instead of Print "Hello World"

Loading comments...