Copyright

Computer Science 113: Programming in Python

Course Summary

Learn how to program in Python with Computer Science 113. The course's bite-sized lessons and practice quizzes can help you establish a basic Python skill set for school, professional or personal use.
Create An Account
To Start This Course Today
Try it risk-free for 30 days. Cancel anytime
Create An Account
Try it risk-free for 30 days

10 chapters in Computer Science 113: Programming in Python

Week {{::cp.getGoalWeekForTopic(0, 10)}}
Ch 1. Introduction to Python Programming {{cp.topicAssetIdToProgress[531045].percentComplete}}% complete
Course Progress Best Score
Lesson 1 - What Is Programming? - Definition & Introduction for Beginning Programmers Score: {{cp.lessonAssetIdToProgress[2651].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[2651].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[2651].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[2651].bestScoreQuestions}}  Take Quiz Optional
Lesson 2 - How to Write a Program: Coding, Testing & Debugging Score: {{cp.lessonAssetIdToProgress[2657].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[2657].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[2657].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[2657].bestScoreQuestions}}  Take Quiz Optional
Lesson 3 - Data Types in Programming: Numbers, Strings and Others Score: {{cp.lessonAssetIdToProgress[13748].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[13748].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[13748].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[13748].bestScoreQuestions}}  Take Quiz Optional
Lesson 4 - Programming Logic & Syntax: The Programming Toolbox Score: {{cp.lessonAssetIdToProgress[2653].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[2653].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[2653].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[2653].bestScoreQuestions}}  Take Quiz Optional
Lesson 5 - How to Set up a Coding Environment in Python Score: {{cp.lessonAssetIdToProgress[531047].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531047].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531047].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531047].bestScoreQuestions}}  Take Quiz Optional
Lesson 6 - Coding Input & Output & Writing Comments in Python Score: {{cp.lessonAssetIdToProgress[531049].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531049].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531049].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531049].bestScoreQuestions}}  Take Quiz Optional
Lesson 7 - Practical Application for Python: Using Print and Input
Week {{::cp.getGoalWeekForTopic(1, 10)}}
Ch 2. Computing with Numbers {{cp.topicAssetIdToProgress[531053].percentComplete}}% complete
Week {{::cp.getGoalWeekForTopic(2, 10)}}
Ch 3. Using Strings, Lists & Files in Python {{cp.topicAssetIdToProgress[531059].percentComplete}}% complete
Course Progress Best Score
Lesson 1 - Strings in Python: Printing, Joining, Escaping & Reversing Score: {{cp.lessonAssetIdToProgress[531061].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531061].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531061].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531061].bestScoreQuestions}}  Take Quiz Optional
Lesson 2 - Strings in Python: Length, Indexing, Slicing, Finding & Replacing Score: {{cp.lessonAssetIdToProgress[586563].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[586563].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[586563].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[586563].bestScoreQuestions}}  Take Quiz Optional
Lesson 3 - Using Lists in Python Score: {{cp.lessonAssetIdToProgress[531063].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531063].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531063].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531063].bestScoreQuestions}}  Take Quiz Optional
Lesson 4 - Using Dictionaries in Python Score: {{cp.lessonAssetIdToProgress[531065].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531065].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531065].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531065].bestScoreQuestions}}  Take Quiz Optional
Lesson 5 - Accessing Files with Python Score: {{cp.lessonAssetIdToProgress[531067].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531067].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531067].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531067].bestScoreQuestions}}  Take Quiz Optional
Lesson 6 - Practical Application in Python: Storing Test Scores in a List
Week {{::cp.getGoalWeekForTopic(4, 10)}}
Ch 5. Using Functions in Python {{cp.topicAssetIdToProgress[531087].percentComplete}}% complete
Course Progress Best Score
Lesson 1 - Defining & Calling a Function in Python Score: {{cp.lessonAssetIdToProgress[531089].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531089].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531089].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531089].bestScoreQuestions}}  Take Quiz Optional
Lesson 2 - Function Arguments in Python: Definition & Examples Score: {{cp.lessonAssetIdToProgress[531091].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531091].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531091].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531091].bestScoreQuestions}}  Take Quiz Optional
Lesson 3 - Variable Scope in Python: Definition & Examples Score: {{cp.lessonAssetIdToProgress[531093].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531093].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531093].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531093].bestScoreQuestions}}  Take Quiz Optional
Lesson 4 - Return & Void Statements in Python Score: {{cp.lessonAssetIdToProgress[531095].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531095].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531095].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531095].bestScoreQuestions}}  Take Quiz Optional
Lesson 5 - Standard Modules in Python Score: {{cp.lessonAssetIdToProgress[531097].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531097].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531097].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531097].bestScoreQuestions}}  Take Quiz Optional
Lesson 6 - Practical Application in Python: Using Functions
Week {{::cp.getGoalWeekForTopic(5, 10)}}
Ch 6. Decision Structures in Python {{cp.topicAssetIdToProgress[531101].percentComplete}}% complete
Course Progress Best Score
Lesson 1 - Boolean Logic, Operators & Expressions Score: {{cp.lessonAssetIdToProgress[14069].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[14069].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[14069].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[14069].bestScoreQuestions}}  Take Quiz Optional
Lesson 2 - Relational Operators in Python: Definition & Examples Score: {{cp.lessonAssetIdToProgress[531103].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531103].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531103].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531103].bestScoreQuestions}}  Take Quiz Optional
Lesson 3 - Logical Operators in Python: Definition & Examples Score: {{cp.lessonAssetIdToProgress[531105].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531105].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531105].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531105].bestScoreQuestions}}  Take Quiz Optional
Lesson 4 - Python If Statements: Definition & Examples Score: {{cp.lessonAssetIdToProgress[531107].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531107].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531107].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531107].bestScoreQuestions}}  Take Quiz Optional
Lesson 5 - Python Nested If Statements: Definition & Examples Score: {{cp.lessonAssetIdToProgress[531109].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531109].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531109].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531109].bestScoreQuestions}}  Take Quiz Optional
Lesson 6 - Data Validation & Exception Handling in Python Score: {{cp.lessonAssetIdToProgress[531111].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531111].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531111].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531111].bestScoreQuestions}}  Take Quiz Optional
Lesson 7 - Practical Application for Python: Using If Statements
Week {{::cp.getGoalWeekForTopic(6, 10)}}
Ch 7. Iteration & Control Structures in Python {{cp.topicAssetIdToProgress[531115].percentComplete}}% complete
Course Progress Best Score
Lesson 1 - For Loops in Python: Definition & Examples Score: {{cp.lessonAssetIdToProgress[531117].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531117].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531117].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531117].bestScoreQuestions}}  Take Quiz Optional
Lesson 2 - While Loops in Python: Definition & Examples Score: {{cp.lessonAssetIdToProgress[531119].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531119].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531119].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531119].bestScoreQuestions}}  Take Quiz Optional
Lesson 3 - Infinite Loops in Python: Definition & Examples Score: {{cp.lessonAssetIdToProgress[531121].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531121].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531121].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531121].bestScoreQuestions}}  Take Quiz Optional
Lesson 4 - Nested Loops in Python: Definition & Examples Score: {{cp.lessonAssetIdToProgress[531123].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531123].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531123].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531123].bestScoreQuestions}}  Take Quiz Optional
Lesson 5 - Else Statements in Loops in Python: Definition & Examples Score: {{cp.lessonAssetIdToProgress[531125].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531125].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531125].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531125].bestScoreQuestions}}  Take Quiz Optional
Lesson 6 - Break Statements in Python: Definition & Examples Score: {{cp.lessonAssetIdToProgress[531127].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531127].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531127].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531127].bestScoreQuestions}}  Take Quiz Optional
Lesson 7 - Boolean Control Structures in Python: Definition & Examples Score: {{cp.lessonAssetIdToProgress[531129].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531129].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531129].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531129].bestScoreQuestions}}  Take Quiz Optional
Lesson 8 - Post-Test Loops, Loop & a Half & Boolean Decisions in Python Score: {{cp.lessonAssetIdToProgress[531131].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531131].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531131].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531131].bestScoreQuestions}}  Take Quiz Optional
Lesson 9 - Practical Application in Python: Using Loops
Week {{::cp.getGoalWeekForTopic(7, 10)}}
Ch 8. Object-Oriented Programming {{cp.topicAssetIdToProgress[531135].percentComplete}}% complete
Course Progress Best Score
Lesson 1 - Object-Oriented Programming vs. Procedural Programming Score: {{cp.lessonAssetIdToProgress[2658].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[2658].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[2658].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[2658].bestScoreQuestions}}  Take Quiz Optional
Lesson 2 - What is an Attribute in Computer Programming? - Definition & Examples Score: {{cp.lessonAssetIdToProgress[53901].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[53901].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[53901].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[53901].bestScoreQuestions}}  Take Quiz Optional
Lesson 3 - Creating Classes in Python: Definition & Examples Score: {{cp.lessonAssetIdToProgress[531137].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531137].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531137].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531137].bestScoreQuestions}}  Take Quiz Optional
Lesson 4 - Creating Objects in Python: Definition & Examples Score: {{cp.lessonAssetIdToProgress[531139].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531139].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531139].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531139].bestScoreQuestions}}  Take Quiz Optional
Lesson 5 - Practical Application for Python: Object-Oriented Programming
Week {{::cp.getGoalWeekForTopic(9, 10)}}
Ch 10. Algorithm Design & Data Analysis {{cp.topicAssetIdToProgress[531151].percentComplete}}% complete
Course Progress Best Score
Lesson 1 - Performing a Linear Search in Python: Definition & Examples Score: {{cp.lessonAssetIdToProgress[531153].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531153].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531153].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531153].bestScoreQuestions}}  Take Quiz Optional
Lesson 2 - Binary Searches in Python: Definition & Examples Score: {{cp.lessonAssetIdToProgress[531155].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531155].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531155].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531155].bestScoreQuestions}}  Take Quiz Optional
Lesson 3 - Recursion & Recursive Algorithms in Python: Definition & Examples Score: {{cp.lessonAssetIdToProgress[531157].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531157].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531157].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531157].bestScoreQuestions}}  Take Quiz Optional
Lesson 4 - Sorting in Python: Selection & Merge Sort Score: {{cp.lessonAssetIdToProgress[531159].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531159].bestScoreQuestions}}  Take Quiz Optional
Score: {{cp.lessonAssetIdToProgress[531159].bestScoreCorrect}}/{{cp.lessonAssetIdToProgress[531159].bestScoreQuestions}}  Take Quiz Optional

Earning College Credit

Did you know… We have over 160 college courses that prepare you to earn credit by exam that is accepted by over 1,500 colleges and universities. You can test out of the first two years of college and save thousands off your degree. Anyone can earn credit-by-exam regardless of age or education level.

To learn more, visit our Earning Credit Page

Transferring credit to the school of your choice

Not sure what college you want to attend yet? Study.com has thousands of articles about every imaginable degree, area of study and career path that can help you find the school that's right for you.

Practice Tests in this course
Check your knowledge of this course with a 50-question practice test. Once you take the test, you will receive a detailed exam report complete with your personal statistics and even specific lessons to focus on!
Your detailed study guide will include:
  • Answers and detailed explanations to each question
  • Video lessons to explain complicated concepts
Course Practice Test
Computer Science 113: Programming in Python
Not Taken
More practice by chapter
See practice tests for:
Support