Skip main navigation

New offer! Get 30% off one whole year of Unlimited learning. Subscribe for just £249.99 £174.99. New subscribers only. T&Cs apply

Find out more

Wrap-up, reflect, and share

Wrapping up the week.

Congratulations! You’ve completed Week 2: Python basics.

You’ve learned about the basic elements of Python programming. You learned how to create different types of variables and use them to store and work with information. You learned how to write conditional statements so that your program can behave differently according to circumstances.

You also learned how functions work and how to define your own functions. This is a powerful way to make your code lean and efficient through modularity.

Finally, you learned about the list data structure and how to use it to create for loops. You also learned how to write while loops. These two types of loops are another way to add efficiency to your programs.

All programs will have at least one of these elements that you learned about this week. Now, let’s wrap up looking back and taking one more opportunity to reflect and engage with your fellow learners.

Reflect on the week

  1. Reflect on what you learned this week about Python. Use the following questions as a guide:
    • What was the most valuable thing you learned this week?
    • What were the two biggest challenges you encountered as you worked through this week? Were you able to solve them? If so, how? Is there something you’re still not sure about?
    • Did you encounter any useful resources or discover any useful tips along the way?
  2. Write down your responses to each of the questions and then share them in the discussion.
  3. Reply to one or more of your fellow learners’ posts with your own follow-up question or a constructive comment. Or maybe you can help them with their challenge by offering some insight or a different perspective!

Once you master these basic Python elements, you will have the building blocks to tackle more complex concepts and techniques. It’s worth reviewing this week’s material to make sure that you understand how it works. Take time to practise using the elements by writing Python programs and completing the activities. Also, take note of what challenges you encountered and what you would like to learn more about to overcome those challenges.

Looking ahead

In Week 3, you will learn more about dealing with errors and improving your programs. You will learn how to build in functionality that handles unexpected errors and input so that your programs are more robust. You will also learn about version control and a useful tool to help you maintain your Python projects.

This article is from the free online

Introduction to Programming with Python

Created by
FutureLearn - Learning For Life

Reach your personal and professional goals

Unlock access to hundreds of expert online courses and degrees from top universities and educators to gain accredited qualifications and professional CV-building certificates.

Join over 18 million learners to launch, switch or build upon your career, all at your own pace, across a wide range of topic areas.

Start Learning now