Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

PCEP: Python Conditionals, Loops, Functions, and Exceptions

via Coursera

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
To round out your introduction to Python programming, you'll write conditional statements and loops to control flow in your programs. You'll also define and use functions to make your code more modular, and handle exceptions to make it more resilient. This is the third and final course in a multi-course Specialization. All of the courses in this Specialization require that you use the provided virtual machine, which includes an installation of Python. The course setup instructions provided in the first course go into more detail about the hardware and software requirements.

Syllabus

  • Writing Conditional Statements and Loops
    • Other than storing data, programming languages like Python® execute logical processes in order to determine what to do in a program. Conditional statements and loops are the primary ways that you can control the logical flow of a program, and they are found in nearly all Python-developed software. In this lesson, you'll take advantage of both to produce a more complex application.
  • Using Functions and Handling Exceptions
    • Object-oriented languages excel at giving programmers the tools they need to make coding easier. Reusing code not only enables you to develop at a quicker pace, but it also makes your source code more readable. In addition, code that is resilient against errors is beneficial to both users and developers. In this lesson, you'll employ Python's built-in mechanisms for achieving these goals.
  • Completing the Course
    • You'll wrap things up and then validate what you've learned in this course by taking an assessment.

Taught by

Bill Rosenthal

Reviews

Start your review of PCEP: Python Conditionals, Loops, Functions, and Exceptions

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.