课程信息
Behind every mouse click and touch-screen tap, there is a computer program that makes things happen. This course introduces the fundamental building blocks of programming and teaches you how to write fun and useful programs using the Python language.
Globe

100% 在线课程

立即开始,按照自己的计划学习。
Beginner Level

初级

Clock

完成时间大约为27 小时

建议:7 weeks of study, 4-8 hours per week
Comment Dots

English

字幕:English, Kazakh, Italian

您将获得的技能

Python ProgrammingProblem SolvingData StructureFunctional Programming
Globe

100% 在线课程

立即开始,按照自己的计划学习。
Beginner Level

初级

Clock

完成时间大约为27 小时

建议:7 weeks of study, 4-8 hours per week
Comment Dots

English

字幕:English, Kazakh, Italian

Syllabus - What you will learn from this course

1

Section
Clock
3 hours to complete

Python, Variables, and Functions

This module gives an overview of the course, the editor we will use to write programs, and an introduction to fundamental concepts in Python including variables, mathematical expressions, and functions....
Reading
8 videos (Total 39 min), 10 readings, 1 quiz
Video8 videos
Installing Python2m
Python as a Calculator10m
Python and Computer Memory2m
Variables7m
Visualizing Assignment Statements2m
Built-in Functions5m
Defining Functions6m
Reading10 readings
Syllabus10m
Course Logistics10m
Resources10m
Installing Python10m
Python as a Calculator10m
Python and Computer Memory10m
Variables10m
Visualizing Assignment Statements10m
Built-in Functions10m
Defining Functions10m
Quiz1 practice exercises
Python, Variables, and Functions24m

2

Section
Clock
5 hours to complete

Strings and Designing Functions

This module introduces strings (a Python data type used to represent text), and a process to follow when creating a function....
Reading
6 videos (Total 35 min), 6 readings, 2 quizzes
Video6 videos
Input/Output and str Formatting10m
Docstrings and Function Help1m
Function Design Recipe5m
Function Reuse6m
Visualizing Function Calls5m
Reading6 readings
Type str10m
Input/Output and str Formatting10m
Docstrings and Function help10m
Function Design Recipe10m
Function Reuse10m
Visualizing Function Calls10m
Quiz1 practice exercises
Strings and Designing Functions36m

3

Section
Clock
2 hours to complete

Booleans, Import, Namespaces, and if Statements

This module introduces Booleans (logical values True and False), how to convert between types, how to use Boolean expressions in if statements to selectively run code, and the concept of a Python module....
Reading
7 videos (Total 42 min), 7 readings, 1 quiz
Video7 videos
Type Bool8m
Converting Between int, str, and float3m
Import: Using Non-Built-in Functions5m
If Statements9m
No if Required4m
Structuring if Statements6m
Reading7 readings
Functions, Variables, and the Call Stack10m
Type Bool10m
Converting Between int, str, and float10m
Import: Using Non-Built-in Functions10m
If Statements10m
No if Required10m
Structuring if statements10m
Quiz1 practice exercises
Booleans, Import, Namespaces, and if Statements32m

4

Section
Clock
5 hours to complete

For Loops and Fancy String Manipulation

This module introduces one way to repeat code (using a for loop), how to manipulate strings, and how to use a debugger to watch a program execute step by step....
Reading
5 videos (Total 26 min), 5 readings, 2 quizzes
Video5 videos
Str: Indexing and Slicing4m
Str Methods: Functions Inside of Objects3m
For Loop Over Str11m
IDLE's Debugger4m
Reading5 readings
More str Operators10m
Str: Indexing and Slicing10m
Str Methods: Functions Inside of Objects10m
For Loop Over Str10m
IDLE's Debugger10m
Quiz1 practice exercises
For Loops and Fancy String Manipulation28m

5

Section
Clock
2 hours to complete

While Loops, Lists, and Mutability

This module introduces another way to repeat code (using a while loop), how to properly document your code to help other programmers understand it, Python's list data type, and the concept of mutation....
Reading
6 videos (Total 43 min), 6 readings, 1 quiz
Video6 videos
Comments4m
Type list4m
list Methods8m
Mutability and Aliasing10m
range3m
Reading6 readings
While Loops10m
Comments10m
Type list10m
list Methods10m
Mutability and Aliasing10m
range10m
Quiz1 practice exercises
While Loops, Lists, and Mutability28m

6

Section
Clock
6 hours to complete

For Loops Over Indices, Parallel and Nested Lists and Strings, and Files

This module introduces how to use a for loop over the indexes of a list, how to nest lists, and how to read a write files....
Reading
7 videos (Total 82 min), 6 readings, 2 quizzes
Video7 videos
Parallel Lists and Strings6m
Nested Lists4m
Nested Loops13m
Reading Files4m
Writing Files5m
Developing a Program 34m
Reading6 readings
For Loop Over Indices10m
Parallel Lists and Strings10m
Nested Lists10m
Nested Loops10m
Reading Files10m
Writing Files10m
Quiz1 practice exercises
For Loops Over Indices, Parallel Lists and Strings, and Files26m

7

Section
Clock
2 hours to complete

Tuples and Dictionaries

This module introduces tuples (an immutable version of lists), and Python's dictionary type....
Reading
4 videos (Total 24 min), 3 readings, 2 quizzes
Video4 videos
Type dict9m
Inverting a Dictionary4m
Populating a Dictionary 7m
Reading3 readings
Tuples10m
Type dict10m
Inverting a Dictionary10m
Quiz2 practice exercises
Tuples and Dictionaries24m
Final Exam26m
4.7
Direction Signs

38%

started a new career after completing these courses
Briefcase

83%

got a tangible career benefit from this course

Top Reviews

By CVNov 17th 2017

This is a introductory course i would recommend. I especially liked that the instructors took the time to go through the python visualizer and try to unveil some of the background workings in python.

By RBOct 2nd 2017

I didn't know a thing about programming. Now after two weeks I feel I've learned a lot already! The instructors are awesome! I believe this course is very compacted and it needs a good deal of work!

Instructors

Avatar

Jennifer Campbell

Associate Professor, Teaching Stream
Avatar

Paul Gries

Associate Professor, Teaching Stream

About University of Toronto

Established in 1827, the University of Toronto has one of the strongest research and teaching faculties in North America, presenting top students at all levels with an intellectual environment unmatched in depth and breadth on any other Canadian campus. ...

Frequently Asked Questions

  • Once you enroll for a Certificate, you’ll have access to all videos, quizzes, and programming assignments (if applicable). Peer review assignments can only be submitted and reviewed once your session has begun. If you choose to explore the course without purchasing, you may not be able to access certain assignments.

  • If you pay for this course, you will have access to all of the features and content you need to earn a Course Certificate. If you complete the course successfully, your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile. Note that the Course Certificate does not represent official academic credit from the partner institution offering the course.

  • Yes! Coursera provides financial aid to learners who would like to complete a course but cannot afford the course fee. To apply for aid, select "Learn more and apply" in the Financial Aid section below the "Enroll" button. You'll be prompted to complete a simple application; no other paperwork is required.

More questions? Visit the Learner Help Center