Professional Documents
Culture Documents
Algoritma & Pemrograman: Alief Wikarta
Algoritma & Pemrograman: Alief Wikarta
Alief Wikarta
Example of Algorithm
Example of Algorithm
Example of Algorithm
Flowchart Symbols
Terminator : start / end
Data Input/Output
Process step
Decision
Connector
Flow line
Flowchart: Logic Structures
Page 404
Sequence, Selection,
and Repetition Controls
• Sequence control structure
9
Sequence, Selection,
and Repetition Controls
• Selection control structure
The computer
executes a decision
indicated on the
flowchart by the
question in the
diamond shape.
10
Sequence, Selection,
and Repetition Controls
• Repetition control structure
import time
http://anh.cs.luc.edu/python/hands-on/3.1/handsonHtml/functions.html
Secret Message
-Use Function-
Module OS
https://docs.python.org/2/library/os.html
for
loop statement
https://www.tutorialspoint.com/python/python_for_loop.htm
String Translate
https://www.tutorialspoint.com/python/string_translate.htm
Object Oriented Programming (OOP)
https://realpython.com/beginners-guide-python-turtle/
https://medium.com/edureka/python-turtle-module-361816449390
Class Turtle