Python Programming - Working with Complex Decisions and Events - Revised
Acquire a new web development skill and learn how to work with complex decisions and events using Python programming.
Take this certificate on your own.
Start now and learn at your own pace.
CertificationView course modules
When solving problems with your code, your code will need to make decisions or check conditions. For this, you use an if statement or an if else statement. This course will teach you how to create an if statement and explain its usefulness in coding. You will also learn the constraints used for constructing if statements. You will then study the elif statement and explain its differences to a standard if statement. The course will also discuss the use of logic operators and &/or in your if statements.
Loops allow you to repeat the same line of code as often as you want. A variable can be used as the condition for your loop, which is useful if you need to change a value later. This course will teach you the use of Loops and While Loops and their construction process. You will learn that Loops allow you to repeat the same line of code as often as you want, and While Loops allow you to execute code until a particular condition is true.
By the end of this Python programming course, you will understand conditional statements and loops, which are highly useful in writing your code. This course is the third in a series of Python programming courses. You should have completed the previous two courses on programming with Python: 'Programming Concepts with Python' and 'Python Programming - Working with Numbers, Dates and Time' prior to taking this one. But if you have already completed those courses, check out this course today and improve your coding skills in no time.
Making Decisions with Code
Making Decisions with Code - Learning Outcomes
If Statements - Part I
If Statements - Part II
Making Decisions with Code - Lesson Summary
Complex Decisions with Code
Complex Decisions with Code - Learning Outcomes
If Then Otherwise
Nested If Statements
Complex Decisions with Code - Lesson Summary
Repeating Events - Learning Outcomes
Accessing the Loop Value
Repeating Events - Lesson Summary
Repeating Events until Done
Repeating Events until Done - Learning Outcomes
Repeating Events until Done - Lesson Summary
Having completed this course you will be able to:
- Identify an if statement and explain its usefulness in coding.
- Describe the constraints used for constructing if statements.
- Identify an elif statement and explain its differences to a standard if statement.
- Explain the use of logic operators and & or in your if statements.
- Describe the use of Loops in your code.
- Explain how to import the turtle library for drawing on screen.
- Identify the process in constructing a for loop.
- Describe the use of for loops versus while loops.
- Explain the process for constructing a while loop.
- Identify issues that can occur when using loops in programming.
All Alison courses are free to enrol, study and complete. To successfully complete this Certificate course and become an Alison Graduate, you need to achieve 80% or higher in each course assessment. Once you have completed this Certificate course, you have the option to acquire an official Certificate, which is a great way to share your achievement with the world. Your Alison Certificate is:
Ideal for sharing with potential employers - include it in your CV, professional social media profiles and job applications
An indication of your commitment to continuously learn, upskill and achieve high results
An incentive for you to continue empowering yourself through lifelong learning
Alison offers 3 types of Certificates for completed Certificate courses:
Digital Certificate - a downloadable Certificate in PDF format, immediately available to you when you complete your purchase
Certificate - a physical version of your officially branded and security-marked Certificate, posted to you with FREE shipping
Framed Certificate - a physical version of your officially branded and security-marked Certificate in a stylish frame, posted to you with FREE shipping
All Certificates are available to purchase through the Alison Shop. For more information on purchasing Alison Certificates, please visit our FAQs. If you decide not to purchase your Alison Certificate, you can still demonstrate your achievement by sharing your Learner Record or Learner Achievement Verification, both of which are accessible from your Dashboard. For more details on our Certificate pricing, please visit our Pricing Page.