Introduction To Python
Introduction To Python
Ryan D. Reas
Lecturer
ECE Dept.
Eastern Visayas State University
What Does Computer Do
Type of Knowledge
What Is Recipe
Computer Are Machines
Computer Architecture
Stored Program Computer
Basic Primitives
Creating Recipes
Aspect of Language
Aspect of Language
Aspect of Language
Where Things Go Wrong
What is Python
Python is an object-oriented language that was
developed in the late 1980s as a scripting
language (the name is derived from the British
television show Monty Python’s Flying Circus).
Cond. F Cond. T
1 2
T T
Core Python
If-else Statement
Core Python
For Loop
Is used to iterate over the elements of a
sequence (such as a string, tuple or list) or
other iterable object
While Loop
statement is used for repeated execution
as long as an expression is true:
Core Python
For/While Loop
Start Cond./
Process
Target
E
F
Core Python
For Loop
While Loop