कंप्यूटर प्रोग्रामिंग
कंप्यूटर प्रोग्रामिंग
What Is Programming? And How To Get Started - Coursera
Programming refers to a technological process for telling a computer which tasks to perform in order to solve problems. You can think of ...
Learn to Program: The Fundamentals
Taking online courses can be a great way to build programming skills and explore what’s possible for you. Master programming basics for free by enrolling in the University of Toronto's online course, <anchor>Learn to Program: The Fundamentals</anchor>. You can learn the foundations of computer programming and Python so you can start your career or hobby with confidence.
Learn to Program: The Fundamentals | Coursera
Explore

Show notifications
0

University of Toronto

Learn to Program: The Fundamentals



University of Toronto

# Learn to Program: The Fundamentals

Enroll for Free

Starts Sep 13

Financial aid available

482,436 already enrolled

Gain insight into a topic and learn the fundamentals.

4.7

(6,498 reviews)

Beginner level

No prior experience required

Flexible schedule

Approx. 25 hours

Learn at your own pace

94%

Most learners liked this course

Gain insight into a topic and learn the fundamentals.

4.7

(6,498 reviews)

Beginner level

No prior experience required

Flexible schedule

Approx. 25 hours

Learn at your own pace

94%

Most learners liked this course

## Skills you'll gain

## Details to know



Shareable certificate

Add to your LinkedIn profile

Assessments

8 quizzes

Taught in English

22 languages available

# See how employees at top companies are mastering in-demand skills

Placeholder

Placeholder

## Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV

Share it on social media and in your performance review

Placeholder

## There are 7 modules in this course

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.

### Python, Variables, and Functions

Module 1•2 hours to complete

Module details

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.

#### What's included

8 videos10 readings1 quiz

Show info about module content

##### 8 videos•Total 38 minutes

- Welcome to LTP•0 minutes• Preview module
- Installing Python•2 minutes
- Python as a Calculator•10 minutes
- Python and Computer Memory•2 minutes
- Variables•7 minutes
- Visualizing Assignment Statements•2 minutes
- Built-in Functions•5 minutes
- Defining Functions•6 minutes

##### 10 readings•Total 100 minutes

- Syllabus•10 minutes
- Course Logistics•10 minutes
- Resources•10 minutes
- Installing Python•10 minutes
- Python as a Calculator•10 minutes
- Python and Computer Memory•10 minutes
- Variables•10 minutes
- Visualizing Assignment Statements•10 minutes
- Built-in Functions•10 minutes
- Defining Functions•10 minutes

##### 1 quiz•Total 30 minutes

- Python, Variables, and Functions•30 minutes

### Strings and Designing Functions

Module 2•5 hours to complete

Module details

This module introduces strings (a Python data type used to represent text), and a process to follow when creating a function.

#### What's included

6 videos6 readings1 quiz1 programming assignment

Show info about module content

##### 6 videos•Total 34 minutes

- Type str•4 minutes• Preview module
- Input/Output and str Formatting•10 minutes
- Docstrings and Function Help•1 minute
- Function Design Recipe•5 minutes
- Function Reuse•6 minutes
- Visualizing Function Calls•5 minutes

##### 6 readings•Total 60 minutes

- Type str•10 minutes
- Input/Output and str Formatting•10 minutes
- Docstrings and Function help•10 minutes
- Function Design Recipe•10 minutes
- Function Reuse•10 minutes
- Visualizing Function Calls•10 minutes

##### 1 quiz•Total 30 minutes

- Strings and Designing Functions•30 minutes

##### 1 programming assignment•Total 180 minutes

- Assignment 1: Time Zones•180 minutes

### Booleans, Import, Namespaces, and if Statements

Module 3•2 hours to complete

Module details

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.

#### What's included

7 videos7 readings1 quiz

Show info about module content

##### 7 videos•Total 41 minutes

- Functions, Variables, and the Call Stack•4 minutes• Preview module
- Type Bool•8 minutes
- Converting Between int, str, and float•3 minutes
- Import: Using Non-Built-in Functions•5 minutes
- If Statements•9 minutes
- No if Required•4 minutes
- Structuring if Statements•6 minutes

##### 7 readings•Total 70 minutes

- Functions, Variables, and the Call Stack•10 minutes
- Type Bool•10 minutes
- Converting Between int, str, and float•10 minutes
- Import: Using Non-Built-in Functions•10 minutes
- If Statements•10 minutes
- No if Required•10 minutes
- Structuring if statements•10 minutes

##### 1 quiz•Total 30 minutes

- Booleans, Import, Namespaces, and if Statements•30 minutes

### For Loops and Fancy String Manipulation

Module 4•4 hours to complete

Module details

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.

#### What's included

5 videos5 readings1 quiz1 programming assignment

Show info about module content

##### 5 videos•Total 26 minutes

- More str Operators•2 minutes• Preview module
- Str: Indexing and Slicing•4 minutes
- Str Methods: Functions Inside of Objects•3 minutes
- For Loop Over Str•11 minutes
- IDLE's Debugger•4 minutes

##### 5 readings•Total 50 minutes

- More str Operators•10 minutes
- Str: Indexing and Slicing•10 minutes
- Str Methods: Functions Inside of Objects•10 minutes
- For Loop Over Str•10 minutes
- IDLE's Debugger•10 minutes

##### 1 quiz•Total 30 minutes

- For Loops and Fancy String Manipulation•30 minutes

##### 1 programming assignment•Total 180 minutes

- Assignment 2: DNA Processing•180 minutes

### While Loops, Lists, and Mutability

Module 5•2 hours to complete

Module details

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.

#### What's included

6 videos6 readings1 quiz

Show info about module content

##### 6 videos•Total 43 minutes

- While Loops•12 minutes• Preview module
- Comments•4 minutes
- Type list•4 minutes
- list Methods•8 minutes
- Mutability and Aliasing•10 minutes
- range•3 minutes

##### 6 readings•Total 60 minutes

- While Loops•10 minutes
- Comments•10 minutes
- Type list•10 minutes
- list Methods•10 minutes
- Mutability and Aliasing•10 minutes
- range•10 minutes

##### 1 quiz•Total 30 minutes

- While Loops, Lists, and Mutability•30 minutes

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

Module 6•5 hours to complete

Module details

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.

#### What's included

7 videos6 readings1 quiz1 programming assignment

Show info about module content

##### 7 videos•Total 82 minutes

- For Loop Over Indices•14 minutes• Preview module
- Parallel Lists and Strings•6 minutes
- Nested Lists•4 minutes
- Nested Loops•13 minutes
- Reading Files•4 minutes
- Writing Files•5 minutes
- Developing a Program •34 minutes

##### 6 readings•Total 60 minutes

- For Loop Over Indices•10 minutes
- Parallel Lists and Strings•10 minutes
- Nested Lists•10 minutes
- Nested Loops•10 minutes
- Reading Files•10 minutes
- Writing Files•10 minutes

##### 1 quiz•Total 30 minutes

- For Loops Over Indices, Parallel Lists and Strings, and Files•30 minutes

##### 1 programming assignment•Total 180 minutes

- Assignment 3•180 minutes

### Tuples and Dictionaries

Module 7•1 hour to complete

Module details

This module introduces tuples (an immutable version of lists), and Python's dictionary type.

#### What's included

4 videos3 readings2 quizzes

Show info about module content

##### 4 videos•Total 23 minutes

- Tuples•2 minutes• Preview module
- Type dict•9 minutes
- Inverting a Dictionary•4 minutes
- Populating a Dictionary •7 minutes

##### 3 readings•Total 30 minutes

- Tuples•10 minutes
- Type dict•10 minutes
- Inverting a Dictionary•10 minutes

##### 2 quizzes•Total 60 minutes

- Tuples and Dictionaries•30 minutes
- Final Exam•30 minutes

### Instructors

Instructor ratings

Close

## Instructor ratings

We asked all learners to give feedback on our instructors based on the quality of their teaching style.

OK

4.8(1,505 ratings)

Jennifer Campbell

University of Toronto

2 Courses•520,042 learners

Paul Gries

University of Toronto

2 Courses•520,042 learners

### Offered by



Close

## Offered by



Established in 1827, the University of Toronto is one of the world’s leading universities, renowned for its excellence in teaching, research, innovation and entrepreneurship, as well as its impact on economic prosperity and social well-being around the globe.

OK

### Recommended if you're interested in Software Development

Recommended

- 

U

University of Toronto

Course

- 

P

Princeton University

Course

- 

U

University of Alberta

Course

- 

B

Ball State University

Course

Show 8 more

## Why people choose Coursera for their career



Felipe M.

Learner since 2018

"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."



Jennifer J.

Learner since 2020

"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."



Larry W.

Learner since 2021

"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."



Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

## Learner reviews

Showing 3 of 6498

4.7
6,498 reviews

- 5 stars

78.63%

- 4 stars

17.82%

- 3 stars

1.96%

- 2 stars

0.61%

- 1 star

0.96%

K

KR

5
Reviewed on May 5, 2020

A wonderful and knowledgeable course. It was quite intuitive in terms of understanding the concept. The examples used for the explanation were quite relatable. Overall it was an amazing course.

A

AG

5
Reviewed on Dec 15, 2020

Great course for refreshing your python basics, and any beginner looking to pick up Python basics will be in a comfortable spot after completing this course and a bit of practice with the assignments.

A

AA

4
Reviewed on Nov 13, 2022

Very good course for beginners!

A few minor issues like questions during videos not accepting correct answer or skipping to next lesson before answering final question with auto-skip enabled.

## New to Software Development? Start here.

Placeholder

## Open new doors with Coursera Plus

Unlimited access to 7,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

## Advance your career with an online degree

Earn a degree from world-class universities - 100% online

## Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

## Frequently asked questions

### When will I have access to the lectures and assignments?

Access to lectures and assignments depends on your type of enrollment. If you take a course in audit mode, you will be able to see most course materials for free. To access graded assignments and to earn a Certificate, you will need to purchase the Certificate experience, during or after your audit. If you don't see the audit option:

- The course may not offer an audit option. You can try a Free Trial instead, or apply for Financial Aid.

- The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.

### What will I get if I purchase the Certificate?

When you purchase a Certificate you get access to all course materials, including graded assignments. Upon completing the course, your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile. If you only want to read and view the course content, you can audit the course for free.

### What is the refund policy?

You will be eligible for a full refund until two weeks after your payment date, or (for courses that have just launched) until two weeks after the first session of the course begins, whichever is later. You cannot receive a refund once you’ve earned a Course Certificate, even if you complete the course within the two-week refund period. See our full refund policyOpens in a new tab.

### Is financial aid available?

Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.

Show all 4 frequently asked questions

### More questions

Enroll for Free

Starts Sep 13

Coursera Footer

Get Started with AI

Popular Career Certificates

Popular Subjects

Popular Resources

Coursera

Community

More

Learn Anywhere

Placeholder

© 2024 Coursera Inc. All rights reserved.