Python Basics: Problem Solving with Code (Coursera)

Python Basics: Problem Solving with Code (Coursera)

A lot of code is building up from the most basic primitive elements of the language to increasingly faithful and meaningful things. In this course we will learn to author more complex ideas and capabilities in Python. In technical terms, you will learn dictionaries and how to work with them and nest them, functions, refactoring, and debugging, all of which are also thinking tools for the art of problem solving. We'll use this knowledge to explore our browsing history, interrogate a tweet, and draw pictures.

Class Deals by MOOC List - Click here and see Coursera's Active Discounts, Deals, and Promo Codes.

Course 4 of 4 in the Python Basics for Online Research Specialization.

What You Will Learn

  • Explore your own web browsing habits and manage code complexity and reading manuals.
  • Discuss how Python understands complex and real world things, and practice looking under the hood of a single tweet.
  • Apply the building blocks of Python and turn it into a little language for drawing pictures.
  • Practice "debugging" code and learn to think the way code thinks.

Syllabus

WEEK 1
Examining Your Own Web Browsing Habits in Python
Can you use code to learn about...yourself? We're starting this course with a module in which you explore web browsing habits. If you installed the plugins for tracking your web history, you'll be able to explore your own. As this code gets more involved, you'll also get more advice on managing code complexity and reading manuals. Let's get started!

WEEK 2
Representing Complex Ideas in Python
Understanding how Python understands the world brings us to "dictionaries", which are kind of like lists, but they allow more variety and structure. This module will build up to representing increasingly complex real world things. We will build up to looking under the hood of a single tweet, and understanding the "social" in "social media".

WEEK 3
Making Pictures with Robots
Everything you've learned in this course about Python is just basic building blocks that programmers use to build bigger building blocks of their own. In this module, we'll do precisely that, turning Python into a little language for drawing pictures, a DIY MS Paint.

WEEK 4
A Strategy for Hunting Bugs
A major part of programming that no one ever tells you about is "debugging": spending seconds, minutes, hours, or even days going through code that should work to understand why it doesn't. This demoralizing subject stops a lot of beginners, but there is a way to be good at it, and that is a major part of learning to think the way code thinks.

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

Related Courses

Introduction to Open Source Application Development (Coursera) Coursera
Illinois Tech

Introduction to Open Source Application Development (Coursera)

This course introduces basic concepts of systems programming using a modern open source language. You will learn to apply basic programming concepts toward solving problems, writing pseudocode, working with and effectively using basic data types, abstract data types, control structures, code modularization and arrays. You will learn to detect errors, work with variables and loops, and discover how functions, methods, and operators work with different data types. You will also be introduced to the object paradigm including classes, inheritance, and polymorphism.

Sep 14th 2026
5-12 Weeks
Fundamentals of Organization (Coursera) Coursera
Politecnico di Milano

Fundamentals of Organization (Coursera)

Organization is a fundamental theme to understand the real functioning of each company or, more in general, of any institution, and it is part of the basic know-how of each manager. Organization design implies decisions on how work is subdivided and how coordination between the various activities and people who autonomously perform them is guaranteed.

Sep 14th 2026
3 Weeks
Programming for Everybody (Getting Started with Python) (Coursera) Coursera
University of Michigan

Programming for Everybody (Getting Started with Python) (Coursera)

This course aims to teach everyone the basics of programming computers using Python. We cover the basics of how one constructs a program from a series of simple instructions in Python. The course has no pre-requisites and avoids all but the simplest mathematics. Anyone with moderate computer experience should be able to master the materials in this course.

Sep 7th 2026
5-12 Weeks
Introduction to Engineering Design (Coursera) Coursera
Starweaver

Introduction to Engineering Design (Coursera)

In today's fast-paced technological environment, understanding the fundamentals of engineering design is crucial for aspiring engineers and professionals alike. This comprehensive course serves as a primer, introducing participants to key concepts and methodologies essential for designing innovative solutions to complex problems. It provides an overview of the engineering design process, emphasizing the integration of creativity and functionality in problem-solving.

Sep 14th 2026
4 Weeks
Applied Text Mining in Python (Coursera) Coursera
University of Michigan

Applied Text Mining in Python (Coursera)

This course will introduce the learner to text mining and text manipulation basics. The course begins with an understanding of how text is handled by python, the structure of text both to the machine and to humans, and an overview of the nltk framework for manipulating text. The second week focuses on common manipulation needs, including regular expressions (searching for text), cleaning text, and preparing text for use by machine learning processes. The third week will apply basic natural language processing methods to text, and demonstrate how text classification is accomplished. The final week will explore more advanced methods for detecting the topics in documents and grouping them by similarity (topic modelling).

Sep 14th 2026
4 Weeks
Selenium WebDriver with Python (Coursera) Coursera
Whizlabs

Selenium WebDriver with Python (Coursera)

“Selenium WebDriver with Python” is a foundational course that aims to provide a comprehensive understanding of Selenium and its components. It also helps in understanding how Selenium WebDriver Operates. This course begins by demonstrating an environment setup for Selenium WebDriver with Python. A brief description of locating Web elements and web Interactions is provided in this course. This course covers an overview of testing frameworks with Selenium WebDriver. Some advanced topics such as Handling Popup, Alerts, Multiple Browser Tabs, Mouse and Keyboard interactions are also highlighted in this course.

Sep 14th 2026
3 Weeks
Llama for Python Programmers (Coursera) Coursera
University of Michigan

Llama for Python Programmers (Coursera)

Llama for Python Programmers is designed for programmers who want to leverage the Llama 2 large language model (LLM) and take advantage of the generative artificial intelligence (AI) revolution. In this course, you’ll learn how open-source LLMs can run on self-hosted hardware, made possible through techniques such as quantization by using the llama.cpp package.

Sep 14th 2026
3 Weeks
Basic Modeling for Discrete Optimization (Coursera) Coursera
University of Melbourne,The Chinese University of Hong Kong

Basic Modeling for Discrete Optimization (Coursera)

Optimization is a common form of decision making, and is ubiquitous in our society. Its applications range from solving Sudoku puzzles to arranging seating in a wedding banquet. The same technology can schedule planes and their crews, coordinate the production of steel, and organize the transportation of iron ore from the mines to the ports. Good decisions in manpower and material resources management also allow corporations to improve profit by millions of dollars.

Sep 14th 2026
4 Weeks
Data Processing Using Python (Coursera) Coursera
Nanjing University

Data Processing Using Python (Coursera)

This course is mainly for non-computer majors. It starts with the basic syntax of Python, to how to acquire data in Python locally and from network, to how to present data, then to how to conduct basic and advanced statistic analysis and visualization of data, and finally to how to design a simple GUI to present and process data, advancing level by level.

Sep 14th 2026
5-12 Weeks
Using Public Policy for Social Change (Coursera) Coursera
University of Michigan

Using Public Policy for Social Change (Coursera)

Using Public Policy for Social Change provides a comprehensive introduction to public policy and its role in addressing societal challenges, with a focus on social inequalities. You’ll explore various areas of policy work, including social welfare, public health, the environment, education, and criminal justice. Learn the fundamentals of public policy design and analysis, and how policymaking functions across all levels of government in democracies worldwide.

Sep 14th 2026
4 Weeks