SlideShare a Scribd company logo
1 of 22
Download to read offline
Introduction;
Welcome to your basic Python workbook! First of all, let me thank you for
using this resource as you are no doubt enrolled in Programming Tut’s free
Python Code Breakdown Course. By becoming a Programming Tut student you
unlock many benefits and workbooks to help you with your programming. As
well as receive 25% off all courses on our website, www.programmingtut.com.
My name is Matthew Dewey. I am lead programming instructor at
Programming Tut. Having studied many programming languages over the years
I can say that Python is an extraordinary language that offers you so many
benefits. Python today is so useful with the expansion of the World Wide Web.
By taking this course we shall of course begin with the basics of Python
programming, moving straight on to ‘What is Python?’
Chapter 1 - What is Python?;
Python is an Object Orientated programming language.
Full stop, let’s break this done:
Object Orientated – When a programming language is ‘object orientated’ it
means the language makes use of objects. Objects are sections of
programming containing methods, methods being miniature programs that
can do small tasks. By being object orientated, Python creates programs that
take advantage of these methods, utilizing them fully.
Python was first introduced in 1990. During this time it grew in popularity and
took the world by storm. Python became the most common tool next to
JavaScript in web development. Many programs and website based services
make use of Python. As you can imagine this is a huge triumph for any
programming language, but what takes it further is that large companies such
as Google and YouTube make use of Python.
Guido van Rossum, the developer of Python, soon made millions of dollars
earning himself a permanent position with Google because of his constant
work and development of Python. This year, 2018, a stable release of Python
lead to a spike in Python programmers, making it a truly outstanding
development in programming.
Today, Python is the second-most used programming language, second only to
JavaScript. However, the gap between the two is only closing as Python grows
more in popularity. What we can say for sure is that Python will always be a
needed language and its programmers the most highly paid.
Chapter 1 – Quiz
1. Who developed the Python programming language?
A) Steve Jobs
B) Guido van Rossum
C) Kim Knapp
D) Bill Gates
2. Which year was Python released?
A) 2018
B) 1995
C) 2000
D) 1990
3. “Python is the ___ -most used language.”
A) Third
B) Tenth
C) Second
D) Fifth
ANSWERS:
Chapter 2 – Simplest of Code
Let us take a look at the most basic of Python code. A simple output line that
prints a line of text saying, ‘Hello World.’
Hello World is the most common output any beginner creates. It signifies the
programmer’s entry into the programming world and thus it is known
throughout the programming community that covers the globe.
The line of code looks as follows:
By typing in print(“Hello World”) you have begun your journey into
programming. Let us break down this simple line of code further.
Print() is what we call a method. Methods as discussed before are small
programs that perform a task. In this case, the print method outputs a line of
text.
How we identify common methods is by the set of () that follow. Not all
methods have these, but the most common ones do. The print() method takes
what is inside and outputs it once the code it run.
What it outputs has to either be text or a variable. In this case we outputted
some text. Text is kept in a set of “” or ‘’. In Python, this is how we can tell a
text from a variable name. A variable name does not have a set of “” or ‘’
around it. We will discuss more on variables in the next chapter, but for now,
we have learnt a very important piece of code to your programming career.
Before we close this chapter let’s take a look at these segments of code:
and
What you see here are two ways in which you can print on two separate lines.
In the first image you see a program with two lines of code to print the two
lines of text. In the second we use a shortcut to print the same result
n is a tag. The n tag is used to start a new line when written in text. It is a
tag which is used commonly by data processing programmers. Knowledge of
these tags always proves useful in a pinch.
Another common tag is the t tag, which creates a tab space (four spaces)
Chapter 2 – Quiz
1. What kind of method is the print() method?
A) Input method
B) Data method
C) Output method
D) Void method
2. Which of these is NOT text?
A) “1234”
B) ‘Hi’
C) True
D) ‘I’
3. What is the result of this code: print(“HellotnMy name isnt John”)
A. Hello
My name is
John
B) Hello My name is John
C) Hello My name is John
D) Hello John
Answers:
Chapter 3 – Data Types and Variables
When you studied mathematics you no doubt learned there are different
number types. Real numbers, rational, irrational and so on. Well, like number
types there are also different data types. There are four data types we will be
discussing. Strings, integers, floats and booleans.
Strings
You have already encountered strings. Strings are lines of text, lines of text
being one or more characters encapsulated in “” or more commonly ‘’.
Eg: “John grew up on a farm”
“123 & 124”
Integers
Integers are whole numbers ranging from negative infinity to positive infinity.
Eg: -72983
93747
33
Floats
Floats have a similar, but far larger range than that of integers. Floats range
from the negative infinity to positive infinity as well, but include all decimal
point numbers as well.
Eg: 56.898
129730750237507.0232414
1.0
Boolean
Boolean is a special data type. It has two values. True and False, or in machine
code, 1 and 0.
Variables
Variables in programming are the same as variables in mathematics. Variables
are containers for values of any data type. To create a variable you simply type
what you want to call it. Before we do that, let’s go over some naming
conventions.
1. You do not use special characters (#$%^&*etc) or numbers (23456etc)
2. You do not use spaces, but rather, underscores ( _ )
3. Use lower case letters
4. Be smart naming, descriptive
Eg: name
first_name
this_is_a_very_specific_variable
Here is an example of assigning a value to a variable:
Notice, once I gave the name variable a value, I ran another line of code where
I just typed the variable name. What this did is return the value and from the ‘’
we can see that it is a String data type.
Notice how all variables can be overwritten, so be careful in your variable
creation when working with larger numbers. You don’t want to reuse a
variable thinking it is the first time you created it. In this code you see me
overwrite a variable containing a string with an integer.
Chapter 3 – Quiz
1. Which is a valid variable name?
A. print
B. hello
C. I_am_1
D. this_is_a_great name
2. Which is not a correct way to assign a variable a value?
A. name = 56
B. num = “Hello”
C. num is 10
D. bool = True
3. Which data type will this variable be: num = 5.67
A. Float
B. Integer
C. String
D. Boolean
ANSWERS:
Chapter 4– Programming Mathematics
Mathematics in programming has small changes compared to real
mathematics done on a piece of paper or in a calculator. Here are the basic
math functions you need to know. BODMAS applies in programming.
Addition
Addition is done with the + symbol
Subtraction
Subtraction is done with the – symbol
Division
Division is done through the / symbol (notice integer is no float)
Multiplication
Multiplication is done with the * symbol
Modulus
Modulus is used to tell you the remainder of divisible numbers. Eg: 5 goes into
9 once, the remainder is 4. (9 – 5 = 4)
OR
5 goes into 18 three times, remainder is 3. (18 – 15 = 3)
Modulus is done with the % symbol.
Division with integral result (discard remainder)
This is the inverse of modulus, it discards the remainder and returns an integer
based on how many times a number can fit into another number. This is done
with the // symbols (two forward slashes). Eg: 9 // 2 = 4
Chapter 4 – Quiz
1. What is the result of: 5 // 9
A. 1
B. 4
C. 0
D. 3
2. What is the result of: 25 % 6
A. 1
B. 2
C. 5
D. 4
3. What is the result of: (5*5-6) + 5
A. 25
B. 89
C. -6
D. 24
ANSWERS:
Chapter 5 - If Statements
If statements are used to check data before running code. If statements make
use of operators and clauses to see if values prove true before running code.
For example, say you want to print ‘hello’, but only if another value is equal to
‘hello’. Your if statement would look like:
An if statement is structured as follows.
If (clause is true):
(run following code)
Clauses are the section that follow the if and end at the :
Clauses make use of operators which are characters or sets of characters used
to compare to values. In the clip above we compared greets value to ‘hello’.
The clause proved true and the code ran. However, if it was different even
slightly, like let’s say greet used an uppercase H instead of lowercase, the
clause would be false. Hello does not equal hello.
Here is a list of operators:
> The greater than, used usually to compare numbers. Eg: 5 > 4 = TRUE
< The less than. Eg: 4 < 5 = TRUE
>= The greater than or equal to Eg: 4 >= 5 = FALSE
<= The less than or equal to Eg: 3 <= 5 = TRUE
== The equal to, we don’t use =, because that is for assigning values. == is
for comparing values. Eg: 5 == 10 = FALSE
!= The not equal to Eg: 5 != 10 = TRUE
And there you have the operators. You should also know that operators return
boolean values, which if statements are based one. This means that you could
use a boolean as a clause instead of an operator.
Another useful reason to use boolean variables.
Chapter 5 – Quiz
1. ____ contain _____
A. Operators, clauses
B. Clauses, if statements
C. If statements, if statements
D. Clauses, operators
2. If statements are used to_____
A. Create conditional based code
B. Repeat code
C. Output data
D. Ask questions
3. 56 >= 55
A. True
B. False
ANSWERS:
Chapter 6 – The While Loop
Like an if statement a while loop is used to contain code based on a clause. As
long as the clause is true, the code will be repeated till the clause proves false.
As such it is always smart to create a while loop that will eventually prove
false, otherwise a programmers must deal with an infinite loop.
A basic way to do this is to base the clause on a number value, increasing that
number value within the loop till the number value reaches a certain point. It
would look as follows:
NOTE: LIKE IF STATEMENTS YOU MUST INDENT YOUR CODE IN THE LOOP
Of course, since the while loop is based on a boolean value like an if statement
you can use a boolean variable or base your loop on a users input. As such you
can create a loop that can run an uncertain amount of times.
These kind of loops are used to perform special tasks that could save you the
programmer plenty of time coding. Loops come in many forms, while loops
being the most common as they have an array of uses compared to other
loops.
Chapter 6 – Quiz
1. While loops can run ____ times
A) 5
B) 10
C) 9,000,000
D) Infinite
2. While loops are ____
A) Obsolete
B) Common
C) Often encountering errors
D) Unstable
3. While loops are ____ if statements
A) Similar to
B) Unlike
C) The same as
D) The opposite of
ANSWERS:
Chapter 7 – Errors
You will encounter three different types of errors in Python programming.
Syntax, logical and exceptions.
Syntax Errors
Syntax errors are common errors that will arise from a character out of place
or perhaps from misspellings. Syntax errors only occur in this form and not
through your actual code structure. As such these errors are the easiest to
solve.
Logic Errors
Logic errors come from a structure in your code. Unlike syntax errors these
errors are hard to find, making them one of the worst errors that you can
encounter in your Python programming. These errors are often solved using
debuggers.
Exceptions
Exceptions come from Python being able to decipher the code, but unable to
run it due to more hidden reasons beyond the programming. For example,
trying to access a file that isn’t there or to access the internet with no internet
connection. These are the common forms of exception error.
Chapter 7 – Quiz
1. Identify the error: Attempting to divide a variable, but it contains no value.
A) Syntax
B) Logical
C) Exception
D) No error
2. Identify the error: Reading a text file, but misspelling in file name
A) Syntax
B) Logical
C) Exception
D) No Error
3. Identify the error: pint(“Hello World”)
A) Syntax
B) Logical
C) Exception
D) No error
ANSWERS:
Conclusion
Congratulations! By completing this work book you can count yourself
amongst the novice Python programmers and are ready to take on your basic
practical studies with a head start. Programming isn’t difficult with these
pieces of knowledge in mind, and if you made it this far with barely any
struggle I can say with certainty that you have what it takes to become a
programmer.
Learning the basics may seem tedious, even boring to some, but in the end
what you learn can help construct the most interesting and useful programs
imagined. Keep this all in mind and you will soar into the future with your
programming know-how.
If you are curious where to go from here I recommend taking my basic Python
course for beginners. In this course we escape theory, install some software
and learn real programming from the ground up. By the end of the course you
will have a firm foundation and can count yourself as an average programmer,
ready to tackle the advances in the Python language.
If this sounds good to you visit our site, www.programmingtut.com, and
receive the course at 25% off, saving you $10!
I hope you found this free course enjoyable and informative and feel free to
use this workbook as a handy cheat-sheet in your future studies.
Kind regards
Matthew Dewey, lead programming instructor at Programming Tut

More Related Content

What's hot

What's hot (18)

OOP in C++
OOP in C++OOP in C++
OOP in C++
 
Anti-Patterns
Anti-PatternsAnti-Patterns
Anti-Patterns
 
C programming | Class 8 | III Term
C programming  | Class 8  | III TermC programming  | Class 8  | III Term
C programming | Class 8 | III Term
 
C++
C++C++
C++
 
Data Handling
Data HandlingData Handling
Data Handling
 
C programming session 09
C programming session 09C programming session 09
C programming session 09
 
Interview questions
Interview questionsInterview questions
Interview questions
 
Getting started with c++
Getting started with c++Getting started with c++
Getting started with c++
 
Applying Generics
Applying GenericsApplying Generics
Applying Generics
 
C material
C materialC material
C material
 
C, C++ Interview Questions Part - 1
C, C++ Interview Questions Part - 1C, C++ Interview Questions Part - 1
C, C++ Interview Questions Part - 1
 
+2 Computer Science - Volume II Notes
+2 Computer Science - Volume II Notes+2 Computer Science - Volume II Notes
+2 Computer Science - Volume II Notes
 
Notes1
Notes1Notes1
Notes1
 
python and perl
python and perlpython and perl
python and perl
 
C programming session 08
C programming session 08C programming session 08
C programming session 08
 
C language UPTU Unit3 Slides
C language UPTU Unit3 SlidesC language UPTU Unit3 Slides
C language UPTU Unit3 Slides
 
M C6java2
M C6java2M C6java2
M C6java2
 
C# String
C# StringC# String
C# String
 

Similar to Python breakdown-workbook

Javascript breakdown-workbook
Javascript breakdown-workbookJavascript breakdown-workbook
Javascript breakdown-workbookHARUN PEHLIVAN
 
Cis 1403 lab1- the process of programming
Cis 1403 lab1- the process of programmingCis 1403 lab1- the process of programming
Cis 1403 lab1- the process of programmingHamad Odhabi
 
Basics of Programming - A Review Guide
Basics of Programming - A Review GuideBasics of Programming - A Review Guide
Basics of Programming - A Review GuideBenjamin Kissinger
 
Mastering Python lesson3b_for_loops
Mastering Python lesson3b_for_loopsMastering Python lesson3b_for_loops
Mastering Python lesson3b_for_loopsRuth Marvin
 
C programming perso notes
C programming perso notesC programming perso notes
C programming perso notesMelanie Tsopze
 
Unit 1-problem solving with algorithm
Unit 1-problem solving with algorithmUnit 1-problem solving with algorithm
Unit 1-problem solving with algorithmrajkumar1631010038
 
An overview on python commands for solving the problems
An overview on python commands for solving the problemsAn overview on python commands for solving the problems
An overview on python commands for solving the problemsRavikiran708913
 
classVI_Coding_Teacher_Presentation.pptx
classVI_Coding_Teacher_Presentation.pptxclassVI_Coding_Teacher_Presentation.pptx
classVI_Coding_Teacher_Presentation.pptxssusere336f4
 
INTRODUCTION TO CODING-CLASS VI LEVEL-DESCRIPTION ABOUT SYNTAX LANGUAGE
INTRODUCTION TO CODING-CLASS VI LEVEL-DESCRIPTION ABOUT SYNTAX LANGUAGEINTRODUCTION TO CODING-CLASS VI LEVEL-DESCRIPTION ABOUT SYNTAX LANGUAGE
INTRODUCTION TO CODING-CLASS VI LEVEL-DESCRIPTION ABOUT SYNTAX LANGUAGERathnaM16
 
Visual Programming
Visual ProgrammingVisual Programming
Visual ProgrammingBagzzz
 
Lecture 0 - CS50's Introduction to Programming with Python.pdf
Lecture 0 - CS50's Introduction to Programming with Python.pdfLecture 0 - CS50's Introduction to Programming with Python.pdf
Lecture 0 - CS50's Introduction to Programming with Python.pdfSrinivasPonugupaty1
 
Engineering CS 5th Sem Python Module-1.pptx
Engineering CS 5th Sem Python Module-1.pptxEngineering CS 5th Sem Python Module-1.pptx
Engineering CS 5th Sem Python Module-1.pptxhardii0991
 
علم البيانات - Data Sience
علم البيانات - Data Sience علم البيانات - Data Sience
علم البيانات - Data Sience App Ttrainers .com
 

Similar to Python breakdown-workbook (20)

Javascript breakdown-workbook
Javascript breakdown-workbookJavascript breakdown-workbook
Javascript breakdown-workbook
 
Cis 1403 lab1- the process of programming
Cis 1403 lab1- the process of programmingCis 1403 lab1- the process of programming
Cis 1403 lab1- the process of programming
 
Lập trình C
Lập trình CLập trình C
Lập trình C
 
Basics of Programming - A Review Guide
Basics of Programming - A Review GuideBasics of Programming - A Review Guide
Basics of Programming - A Review Guide
 
Mastering Python lesson3b_for_loops
Mastering Python lesson3b_for_loopsMastering Python lesson3b_for_loops
Mastering Python lesson3b_for_loops
 
Python fundamentals
Python fundamentalsPython fundamentals
Python fundamentals
 
ACM init() Spring 2015 Day 1
ACM init() Spring 2015 Day 1ACM init() Spring 2015 Day 1
ACM init() Spring 2015 Day 1
 
Rubykin
Rubykin Rubykin
Rubykin
 
C programming perso notes
C programming perso notesC programming perso notes
C programming perso notes
 
Unit 1-problem solving with algorithm
Unit 1-problem solving with algorithmUnit 1-problem solving with algorithm
Unit 1-problem solving with algorithm
 
An overview on python commands for solving the problems
An overview on python commands for solving the problemsAn overview on python commands for solving the problems
An overview on python commands for solving the problems
 
classVI_Coding_Teacher_Presentation.pptx
classVI_Coding_Teacher_Presentation.pptxclassVI_Coding_Teacher_Presentation.pptx
classVI_Coding_Teacher_Presentation.pptx
 
INTRODUCTION TO CODING-CLASS VI LEVEL-DESCRIPTION ABOUT SYNTAX LANGUAGE
INTRODUCTION TO CODING-CLASS VI LEVEL-DESCRIPTION ABOUT SYNTAX LANGUAGEINTRODUCTION TO CODING-CLASS VI LEVEL-DESCRIPTION ABOUT SYNTAX LANGUAGE
INTRODUCTION TO CODING-CLASS VI LEVEL-DESCRIPTION ABOUT SYNTAX LANGUAGE
 
Visual Programming
Visual ProgrammingVisual Programming
Visual Programming
 
Chapter 2- Prog101.ppt
Chapter 2- Prog101.pptChapter 2- Prog101.ppt
Chapter 2- Prog101.ppt
 
C++ lecture 01
C++   lecture 01C++   lecture 01
C++ lecture 01
 
Oo ps exam answer2
Oo ps exam answer2Oo ps exam answer2
Oo ps exam answer2
 
Lecture 0 - CS50's Introduction to Programming with Python.pdf
Lecture 0 - CS50's Introduction to Programming with Python.pdfLecture 0 - CS50's Introduction to Programming with Python.pdf
Lecture 0 - CS50's Introduction to Programming with Python.pdf
 
Engineering CS 5th Sem Python Module-1.pptx
Engineering CS 5th Sem Python Module-1.pptxEngineering CS 5th Sem Python Module-1.pptx
Engineering CS 5th Sem Python Module-1.pptx
 
علم البيانات - Data Sience
علم البيانات - Data Sience علم البيانات - Data Sience
علم البيانات - Data Sience
 

More from HARUN PEHLIVAN

İNTERNET ORTAMINDAKİ BİLGİYİ TEYİD ETMENİN YOLLARI
İNTERNET ORTAMINDAKİ BİLGİYİ TEYİD ETMENİN YOLLARIİNTERNET ORTAMINDAKİ BİLGİYİ TEYİD ETMENİN YOLLARI
İNTERNET ORTAMINDAKİ BİLGİYİ TEYİD ETMENİN YOLLARIHARUN PEHLIVAN
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to PythonHARUN PEHLIVAN
 
Classic to Modern Migration Tool for UiPath Orchestrator
Classic to Modern Migration Tool for UiPath OrchestratorClassic to Modern Migration Tool for UiPath Orchestrator
Classic to Modern Migration Tool for UiPath OrchestratorHARUN PEHLIVAN
 
Build a Full Website using WordPress
Build a Full Website using WordPressBuild a Full Website using WordPress
Build a Full Website using WordPressHARUN PEHLIVAN
 
Borusan Teknoloji Okulu
Borusan Teknoloji OkuluBorusan Teknoloji Okulu
Borusan Teknoloji OkuluHARUN PEHLIVAN
 
Nasıl İhracatçı Olunur?
Nasıl İhracatçı Olunur?Nasıl İhracatçı Olunur?
Nasıl İhracatçı Olunur?HARUN PEHLIVAN
 
Collaborating w ith G Su ite Apps
Collaborating w ith G Su ite AppsCollaborating w ith G Su ite Apps
Collaborating w ith G Su ite AppsHARUN PEHLIVAN
 
CS120 Bitcoin for Developers I
CS120 Bitcoin for Developers ICS120 Bitcoin for Developers I
CS120 Bitcoin for Developers IHARUN PEHLIVAN
 
ANORMAL SİZİ ANORMAL GÖSTERİR
ANORMAL SİZİ ANORMAL GÖSTERİRANORMAL SİZİ ANORMAL GÖSTERİR
ANORMAL SİZİ ANORMAL GÖSTERİRHARUN PEHLIVAN
 
Pre-requisites For Deep Learning Bootcamp
Pre-requisites For Deep Learning BootcampPre-requisites For Deep Learning Bootcamp
Pre-requisites For Deep Learning BootcampHARUN PEHLIVAN
 
Introduction to Data Visualization with Matplotlib
Introduction to Data Visualization with MatplotlibIntroduction to Data Visualization with Matplotlib
Introduction to Data Visualization with MatplotlibHARUN PEHLIVAN
 
Introduction to Python Basics for Data Science
Introduction to Python Basics for Data ScienceIntroduction to Python Basics for Data Science
Introduction to Python Basics for Data ScienceHARUN PEHLIVAN
 
SEO Uyumlu Makale Yazma
SEO Uyumlu Makale YazmaSEO Uyumlu Makale Yazma
SEO Uyumlu Makale YazmaHARUN PEHLIVAN
 
Introduction to Exploratory Data Analysis
Introduction to Exploratory Data AnalysisIntroduction to Exploratory Data Analysis
Introduction to Exploratory Data AnalysisHARUN PEHLIVAN
 
Signal Processing Onramp
Signal Processing OnrampSignal Processing Onramp
Signal Processing OnrampHARUN PEHLIVAN
 
İHRACATA YÖNELİK DEVLET YARDIMLARI
İHRACATA YÖNELİK DEVLET YARDIMLARIİHRACATA YÖNELİK DEVLET YARDIMLARI
İHRACATA YÖNELİK DEVLET YARDIMLARIHARUN PEHLIVAN
 
DR. SADİ BOĞAÇ KANADLI İLE ANTREPO REJİMİ UYGULAMALARI
DR. SADİ BOĞAÇ KANADLI İLE ANTREPO REJİMİ UYGULAMALARIDR. SADİ BOĞAÇ KANADLI İLE ANTREPO REJİMİ UYGULAMALARI
DR. SADİ BOĞAÇ KANADLI İLE ANTREPO REJİMİ UYGULAMALARIHARUN PEHLIVAN
 
DIŞ TİCARETTE MENŞE KAVRAMI, ÖNEMİ, PAMK VE PAAMK SİSTEMLERİ
DIŞ TİCARETTE MENŞE KAVRAMI, ÖNEMİ, PAMK VE PAAMK SİSTEMLERİDIŞ TİCARETTE MENŞE KAVRAMI, ÖNEMİ, PAMK VE PAAMK SİSTEMLERİ
DIŞ TİCARETTE MENŞE KAVRAMI, ÖNEMİ, PAMK VE PAAMK SİSTEMLERİHARUN PEHLIVAN
 

More from HARUN PEHLIVAN (20)

İNTERNET ORTAMINDAKİ BİLGİYİ TEYİD ETMENİN YOLLARI
İNTERNET ORTAMINDAKİ BİLGİYİ TEYİD ETMENİN YOLLARIİNTERNET ORTAMINDAKİ BİLGİYİ TEYİD ETMENİN YOLLARI
İNTERNET ORTAMINDAKİ BİLGİYİ TEYİD ETMENİN YOLLARI
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
 
Classic to Modern Migration Tool for UiPath Orchestrator
Classic to Modern Migration Tool for UiPath OrchestratorClassic to Modern Migration Tool for UiPath Orchestrator
Classic to Modern Migration Tool for UiPath Orchestrator
 
Build a Full Website using WordPress
Build a Full Website using WordPressBuild a Full Website using WordPress
Build a Full Website using WordPress
 
Borusan Teknoloji Okulu
Borusan Teknoloji OkuluBorusan Teknoloji Okulu
Borusan Teknoloji Okulu
 
Nasıl İhracatçı Olunur?
Nasıl İhracatçı Olunur?Nasıl İhracatçı Olunur?
Nasıl İhracatçı Olunur?
 
Collaborating w ith G Su ite Apps
Collaborating w ith G Su ite AppsCollaborating w ith G Su ite Apps
Collaborating w ith G Su ite Apps
 
Anormalizm
AnormalizmAnormalizm
Anormalizm
 
CS120 Bitcoin for Developers I
CS120 Bitcoin for Developers ICS120 Bitcoin for Developers I
CS120 Bitcoin for Developers I
 
ANORMAL SİZİ ANORMAL GÖSTERİR
ANORMAL SİZİ ANORMAL GÖSTERİRANORMAL SİZİ ANORMAL GÖSTERİR
ANORMAL SİZİ ANORMAL GÖSTERİR
 
Pre-requisites For Deep Learning Bootcamp
Pre-requisites For Deep Learning BootcampPre-requisites For Deep Learning Bootcamp
Pre-requisites For Deep Learning Bootcamp
 
Introduction to Data Visualization with Matplotlib
Introduction to Data Visualization with MatplotlibIntroduction to Data Visualization with Matplotlib
Introduction to Data Visualization with Matplotlib
 
Introduction to Python Basics for Data Science
Introduction to Python Basics for Data ScienceIntroduction to Python Basics for Data Science
Introduction to Python Basics for Data Science
 
SEO Uyumlu Makale Yazma
SEO Uyumlu Makale YazmaSEO Uyumlu Makale Yazma
SEO Uyumlu Makale Yazma
 
Introduction to Exploratory Data Analysis
Introduction to Exploratory Data AnalysisIntroduction to Exploratory Data Analysis
Introduction to Exploratory Data Analysis
 
Signal Processing Onramp
Signal Processing OnrampSignal Processing Onramp
Signal Processing Onramp
 
Teaching with MATLAB
Teaching with MATLABTeaching with MATLAB
Teaching with MATLAB
 
İHRACATA YÖNELİK DEVLET YARDIMLARI
İHRACATA YÖNELİK DEVLET YARDIMLARIİHRACATA YÖNELİK DEVLET YARDIMLARI
İHRACATA YÖNELİK DEVLET YARDIMLARI
 
DR. SADİ BOĞAÇ KANADLI İLE ANTREPO REJİMİ UYGULAMALARI
DR. SADİ BOĞAÇ KANADLI İLE ANTREPO REJİMİ UYGULAMALARIDR. SADİ BOĞAÇ KANADLI İLE ANTREPO REJİMİ UYGULAMALARI
DR. SADİ BOĞAÇ KANADLI İLE ANTREPO REJİMİ UYGULAMALARI
 
DIŞ TİCARETTE MENŞE KAVRAMI, ÖNEMİ, PAMK VE PAAMK SİSTEMLERİ
DIŞ TİCARETTE MENŞE KAVRAMI, ÖNEMİ, PAMK VE PAAMK SİSTEMLERİDIŞ TİCARETTE MENŞE KAVRAMI, ÖNEMİ, PAMK VE PAAMK SİSTEMLERİ
DIŞ TİCARETTE MENŞE KAVRAMI, ÖNEMİ, PAMK VE PAAMK SİSTEMLERİ
 

Recently uploaded

Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage examplePragyanshuParadkar1
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 

Recently uploaded (20)

Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage example
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 

Python breakdown-workbook

  • 1.
  • 2. Introduction; Welcome to your basic Python workbook! First of all, let me thank you for using this resource as you are no doubt enrolled in Programming Tut’s free Python Code Breakdown Course. By becoming a Programming Tut student you unlock many benefits and workbooks to help you with your programming. As well as receive 25% off all courses on our website, www.programmingtut.com. My name is Matthew Dewey. I am lead programming instructor at Programming Tut. Having studied many programming languages over the years I can say that Python is an extraordinary language that offers you so many benefits. Python today is so useful with the expansion of the World Wide Web. By taking this course we shall of course begin with the basics of Python programming, moving straight on to ‘What is Python?’
  • 3. Chapter 1 - What is Python?; Python is an Object Orientated programming language. Full stop, let’s break this done: Object Orientated – When a programming language is ‘object orientated’ it means the language makes use of objects. Objects are sections of programming containing methods, methods being miniature programs that can do small tasks. By being object orientated, Python creates programs that take advantage of these methods, utilizing them fully. Python was first introduced in 1990. During this time it grew in popularity and took the world by storm. Python became the most common tool next to JavaScript in web development. Many programs and website based services make use of Python. As you can imagine this is a huge triumph for any programming language, but what takes it further is that large companies such as Google and YouTube make use of Python. Guido van Rossum, the developer of Python, soon made millions of dollars earning himself a permanent position with Google because of his constant work and development of Python. This year, 2018, a stable release of Python lead to a spike in Python programmers, making it a truly outstanding development in programming. Today, Python is the second-most used programming language, second only to JavaScript. However, the gap between the two is only closing as Python grows more in popularity. What we can say for sure is that Python will always be a needed language and its programmers the most highly paid.
  • 4. Chapter 1 – Quiz 1. Who developed the Python programming language? A) Steve Jobs B) Guido van Rossum C) Kim Knapp D) Bill Gates 2. Which year was Python released? A) 2018 B) 1995 C) 2000 D) 1990 3. “Python is the ___ -most used language.” A) Third B) Tenth C) Second D) Fifth ANSWERS:
  • 5. Chapter 2 – Simplest of Code Let us take a look at the most basic of Python code. A simple output line that prints a line of text saying, ‘Hello World.’ Hello World is the most common output any beginner creates. It signifies the programmer’s entry into the programming world and thus it is known throughout the programming community that covers the globe. The line of code looks as follows: By typing in print(“Hello World”) you have begun your journey into programming. Let us break down this simple line of code further. Print() is what we call a method. Methods as discussed before are small programs that perform a task. In this case, the print method outputs a line of text. How we identify common methods is by the set of () that follow. Not all methods have these, but the most common ones do. The print() method takes what is inside and outputs it once the code it run. What it outputs has to either be text or a variable. In this case we outputted some text. Text is kept in a set of “” or ‘’. In Python, this is how we can tell a text from a variable name. A variable name does not have a set of “” or ‘’
  • 6. around it. We will discuss more on variables in the next chapter, but for now, we have learnt a very important piece of code to your programming career. Before we close this chapter let’s take a look at these segments of code: and What you see here are two ways in which you can print on two separate lines. In the first image you see a program with two lines of code to print the two lines of text. In the second we use a shortcut to print the same result n is a tag. The n tag is used to start a new line when written in text. It is a tag which is used commonly by data processing programmers. Knowledge of these tags always proves useful in a pinch. Another common tag is the t tag, which creates a tab space (four spaces)
  • 7. Chapter 2 – Quiz 1. What kind of method is the print() method? A) Input method B) Data method C) Output method D) Void method 2. Which of these is NOT text? A) “1234” B) ‘Hi’ C) True D) ‘I’ 3. What is the result of this code: print(“HellotnMy name isnt John”) A. Hello My name is John B) Hello My name is John C) Hello My name is John D) Hello John Answers:
  • 8. Chapter 3 – Data Types and Variables When you studied mathematics you no doubt learned there are different number types. Real numbers, rational, irrational and so on. Well, like number types there are also different data types. There are four data types we will be discussing. Strings, integers, floats and booleans. Strings You have already encountered strings. Strings are lines of text, lines of text being one or more characters encapsulated in “” or more commonly ‘’. Eg: “John grew up on a farm” “123 & 124” Integers Integers are whole numbers ranging from negative infinity to positive infinity. Eg: -72983 93747 33
  • 9. Floats Floats have a similar, but far larger range than that of integers. Floats range from the negative infinity to positive infinity as well, but include all decimal point numbers as well. Eg: 56.898 129730750237507.0232414 1.0 Boolean Boolean is a special data type. It has two values. True and False, or in machine code, 1 and 0. Variables Variables in programming are the same as variables in mathematics. Variables are containers for values of any data type. To create a variable you simply type what you want to call it. Before we do that, let’s go over some naming conventions. 1. You do not use special characters (#$%^&*etc) or numbers (23456etc) 2. You do not use spaces, but rather, underscores ( _ ) 3. Use lower case letters 4. Be smart naming, descriptive Eg: name first_name this_is_a_very_specific_variable
  • 10. Here is an example of assigning a value to a variable: Notice, once I gave the name variable a value, I ran another line of code where I just typed the variable name. What this did is return the value and from the ‘’ we can see that it is a String data type. Notice how all variables can be overwritten, so be careful in your variable creation when working with larger numbers. You don’t want to reuse a variable thinking it is the first time you created it. In this code you see me overwrite a variable containing a string with an integer.
  • 11. Chapter 3 – Quiz 1. Which is a valid variable name? A. print B. hello C. I_am_1 D. this_is_a_great name 2. Which is not a correct way to assign a variable a value? A. name = 56 B. num = “Hello” C. num is 10 D. bool = True 3. Which data type will this variable be: num = 5.67 A. Float B. Integer C. String D. Boolean ANSWERS:
  • 12. Chapter 4– Programming Mathematics Mathematics in programming has small changes compared to real mathematics done on a piece of paper or in a calculator. Here are the basic math functions you need to know. BODMAS applies in programming. Addition Addition is done with the + symbol Subtraction Subtraction is done with the – symbol Division Division is done through the / symbol (notice integer is no float)
  • 13. Multiplication Multiplication is done with the * symbol Modulus Modulus is used to tell you the remainder of divisible numbers. Eg: 5 goes into 9 once, the remainder is 4. (9 – 5 = 4) OR 5 goes into 18 three times, remainder is 3. (18 – 15 = 3) Modulus is done with the % symbol. Division with integral result (discard remainder) This is the inverse of modulus, it discards the remainder and returns an integer based on how many times a number can fit into another number. This is done with the // symbols (two forward slashes). Eg: 9 // 2 = 4
  • 14. Chapter 4 – Quiz 1. What is the result of: 5 // 9 A. 1 B. 4 C. 0 D. 3 2. What is the result of: 25 % 6 A. 1 B. 2 C. 5 D. 4 3. What is the result of: (5*5-6) + 5 A. 25 B. 89 C. -6 D. 24 ANSWERS:
  • 15. Chapter 5 - If Statements If statements are used to check data before running code. If statements make use of operators and clauses to see if values prove true before running code. For example, say you want to print ‘hello’, but only if another value is equal to ‘hello’. Your if statement would look like: An if statement is structured as follows. If (clause is true): (run following code) Clauses are the section that follow the if and end at the : Clauses make use of operators which are characters or sets of characters used to compare to values. In the clip above we compared greets value to ‘hello’. The clause proved true and the code ran. However, if it was different even slightly, like let’s say greet used an uppercase H instead of lowercase, the clause would be false. Hello does not equal hello.
  • 16. Here is a list of operators: > The greater than, used usually to compare numbers. Eg: 5 > 4 = TRUE < The less than. Eg: 4 < 5 = TRUE >= The greater than or equal to Eg: 4 >= 5 = FALSE <= The less than or equal to Eg: 3 <= 5 = TRUE == The equal to, we don’t use =, because that is for assigning values. == is for comparing values. Eg: 5 == 10 = FALSE != The not equal to Eg: 5 != 10 = TRUE And there you have the operators. You should also know that operators return boolean values, which if statements are based one. This means that you could use a boolean as a clause instead of an operator. Another useful reason to use boolean variables.
  • 17. Chapter 5 – Quiz 1. ____ contain _____ A. Operators, clauses B. Clauses, if statements C. If statements, if statements D. Clauses, operators 2. If statements are used to_____ A. Create conditional based code B. Repeat code C. Output data D. Ask questions 3. 56 >= 55 A. True B. False ANSWERS:
  • 18. Chapter 6 – The While Loop Like an if statement a while loop is used to contain code based on a clause. As long as the clause is true, the code will be repeated till the clause proves false. As such it is always smart to create a while loop that will eventually prove false, otherwise a programmers must deal with an infinite loop. A basic way to do this is to base the clause on a number value, increasing that number value within the loop till the number value reaches a certain point. It would look as follows: NOTE: LIKE IF STATEMENTS YOU MUST INDENT YOUR CODE IN THE LOOP Of course, since the while loop is based on a boolean value like an if statement you can use a boolean variable or base your loop on a users input. As such you can create a loop that can run an uncertain amount of times. These kind of loops are used to perform special tasks that could save you the programmer plenty of time coding. Loops come in many forms, while loops being the most common as they have an array of uses compared to other loops.
  • 19. Chapter 6 – Quiz 1. While loops can run ____ times A) 5 B) 10 C) 9,000,000 D) Infinite 2. While loops are ____ A) Obsolete B) Common C) Often encountering errors D) Unstable 3. While loops are ____ if statements A) Similar to B) Unlike C) The same as D) The opposite of ANSWERS:
  • 20. Chapter 7 – Errors You will encounter three different types of errors in Python programming. Syntax, logical and exceptions. Syntax Errors Syntax errors are common errors that will arise from a character out of place or perhaps from misspellings. Syntax errors only occur in this form and not through your actual code structure. As such these errors are the easiest to solve. Logic Errors Logic errors come from a structure in your code. Unlike syntax errors these errors are hard to find, making them one of the worst errors that you can encounter in your Python programming. These errors are often solved using debuggers. Exceptions Exceptions come from Python being able to decipher the code, but unable to run it due to more hidden reasons beyond the programming. For example, trying to access a file that isn’t there or to access the internet with no internet connection. These are the common forms of exception error.
  • 21. Chapter 7 – Quiz 1. Identify the error: Attempting to divide a variable, but it contains no value. A) Syntax B) Logical C) Exception D) No error 2. Identify the error: Reading a text file, but misspelling in file name A) Syntax B) Logical C) Exception D) No Error 3. Identify the error: pint(“Hello World”) A) Syntax B) Logical C) Exception D) No error ANSWERS:
  • 22. Conclusion Congratulations! By completing this work book you can count yourself amongst the novice Python programmers and are ready to take on your basic practical studies with a head start. Programming isn’t difficult with these pieces of knowledge in mind, and if you made it this far with barely any struggle I can say with certainty that you have what it takes to become a programmer. Learning the basics may seem tedious, even boring to some, but in the end what you learn can help construct the most interesting and useful programs imagined. Keep this all in mind and you will soar into the future with your programming know-how. If you are curious where to go from here I recommend taking my basic Python course for beginners. In this course we escape theory, install some software and learn real programming from the ground up. By the end of the course you will have a firm foundation and can count yourself as an average programmer, ready to tackle the advances in the Python language. If this sounds good to you visit our site, www.programmingtut.com, and receive the course at 25% off, saving you $10! I hope you found this free course enjoyable and informative and feel free to use this workbook as a handy cheat-sheet in your future studies. Kind regards Matthew Dewey, lead programming instructor at Programming Tut