À propos de ce cours
125,431 consultations récentes

100 % en ligne

Commencez dès maintenant et apprenez aux horaires qui vous conviennent.

Dates limites flexibles

Réinitialisez les dates limites selon votre disponibilité.

Niveau débutant

Approx. 17 heures pour terminer

Recommandé : 12 hours/week...

Anglais

Sous-titres : Anglais, Vietnamien, Coréen

100 % en ligne

Commencez dès maintenant et apprenez aux horaires qui vous conviennent.

Dates limites flexibles

Réinitialisez les dates limites selon votre disponibilité.

Niveau débutant

Approx. 17 heures pour terminer

Recommandé : 12 hours/week...

Anglais

Sous-titres : Anglais, Vietnamien, Coréen

Programme du cours : ce que vous apprendrez dans ce cours

Semaine
1
6 heures pour terminer

Files and CSV Output

In week one the video lectures and the Runestone textbook will introduce you to the idea of incorporating files into your programs as an additional source of data. You will learn how to read from a file, write to a file, and how to work with the .csv data format....
14 vidéos (Total 88 min), 14 lectures, 3 quiz
14 vidéos
Welcome to Python Functions, Files, and Dictionaries2 min
How to Use the Interactive Textbook14 min
Introduction: Files1 min
Reading a File9 min
Finding a File in Your File System6 min
Writing to a File7 min
Using With to Open Files5 min
Conclusion: Files1 min
Introduction: .csv Format3 min
Reading a .csv File8 min
Writing Data to a .csv File10 min
Tips on File Naming2 min
Conclusion: .csv Format1 min
14 lectures
Syllabus10 min
Help Us Learn More About You!10 min
Introduction: Working with Data Files10 min
Reading a File10 min
Alternative File Reading Methods10 min
Iterating Over Lines in a File10 min
Finding a File in your File System10 min
Writing to a File10 min
Using With to Open Files10 min
Recipe for Reading and Processing a File10 min
CSV Format10 min
Reading a .csv File10 min
Writing Data to a .csv File10 min
Tips on Handling Files10 min
1 exercices pour s'entraîner
Optional - What Did You Use to Practice This Week?4 min
Semaine
2
6 heures pour terminer

Dictionaries and Dictionary Accumulation

In week two the video lectures and the Runestone textbook will focus on a new data type, dictionaries. You will be introduced to the mechanics of dictionaries and then get practice using them in accumulation patterns, both to build a dictionary using the pattern as well as find the best, or worst, result using the pattern....
10 vidéos (Total 77 min), 9 lectures, 4 quiz
10 vidéos
Demonstration: Dictionary Basics4 min
Dictionary Operations7 min
Dictionary Methods12 min
Demonstration: Dictionary Methods3 min
Aliasing and Copying with Dictionaries3 min
Dictionary Accumulation13 min
Demonstration: Dictionary Accumulation5 min
Accumulating Results From a Dictionary12 min
Demonstration: Accumulating Results From a Dictionary7 min
9 lectures
Introduction: Dictionary Learning Goals10 min
Introduction: Dictionaries10 min
Dictionary Operations10 min
Dictionary Methods10 min
Aliasing and Copying10 min
Introduction: Accumulating Multiple Results in a Dictionary10 min
Accumulating Results From a Dictionary10 min
Accumulating the Best Key10 min
When to Use a Dictionary10 min
1 exercices pour s'entraîner
Optional - What Did You Use to Practice This Week?4 min
Semaine
3
8 heures pour terminer

Functions and Tuples

In week three you will be introduced to the construction of functions. Up to this point, you have used functions in the programs before, but have not had a chance to write your own functions, including how to define a function, how to incorporate parameters, how to return data from a function, the local or global scope of variables, and potential side effects that could occur from function execution. Finally, we look at tuples more in depth, and how automatic packing and unpacking of tuples can be used in functions and in for loops....
16 vidéos (Total 81 min), 19 lectures, 4 quiz
16 vidéos
Defining Functions5 min
Positional Parameter Passing6 min
Returning Values12 min
Way of the Programmer: Decoding a Function4 min
A Function that Accumulates8 min
Conclusion: Functions59s
Introduction: Variable Scoping and Side Effects48s
Local and Global Variables9 min
Function Composition10 min
Mutable Objects and Side Effects5 min
Conclusion: Variable Scoping and Side Effects1 min
Introduction: Tuple Packing and Unpacking40s
Tuple Packing3 min
Tuple Assignment with Unpacking8 min
Conclusion: Tuple Packing and Unpacking39s
19 lectures
Introduction to Functions10 min
Function Definition10 min
Function Invocation10 min
Function Parameters10 min
Returning a Value from a Function10 min
Decoding a Function10 min
A Function that Accumulates10 min
Local Variables10 min
Global Variables10 min
Function Composition10 min
Flow of Execution Summary10 min
Print vs. Return10 min
Passing Mutable Objects10 min
Side Effects10 min
Introduction10 min
Tuple Packing10 min
Tuples as Return Values10 min
Tuple Assignment with Unpacking10 min
Unpacking Into Iterator Variables10 min
1 exercices pour s'entraîner
Optional - What Did You Use to Practice This Week?4 min
Semaine
4
6 heures pour terminer

More Iteration and Advanced Functions

In week four the video lectures and the Runestone textbook will outline a more advanced iteration mechanism, the while loop. You will be introduced to using it when getting feedback from users, as well as applying it to the turtle module to draw images. Additionally, you will also be exposed to more advanced function concepts such as the idea of parameters being optional, not required, and anonymous functions using lambda....
7 vidéos (Total 49 min), 10 lectures, 4 quiz
7 vidéos
The Listener Loop7 min
Break and Continue5 min
Way of the Programmer: Infinite Loops4 min
Optional Parameters4 min
Keyword Parameters7 min
Anonymous Functions with Lambda Expressions5 min
10 lectures
Introduction10 min
The While Statement10 min
The Listener Loop10 min
Randomly Walking Turtles10 min
Break and Continue10 min
Infinite Loops10 min
Introduction: Optional Parameters10 min
Keyword Parameters10 min
Anonymous Function with Lambda Expressions10 min
Programming With Style10 min
1 exercices pour s'entraîner
Optional - What Did You Use to Practice This Week?4 min
4.8
50 avisChevron Right

33%

a commencé une nouvelle carrière après avoir terminé ces cours

25%

a bénéficié d'un avantage concret dans sa carrière grâce à ce cours

Meilleurs avis

par OUMay 5th 2019

One of the best courses I have taken so far on programming. Well organized and detailed explanation with much challenging tasks to work through.

par MNJan 5th 2019

This is the course to do because it makes use of spaced repetition learning - scientifically proven to be the best for recollection.

Enseignants

Avatar

Paul Resnick

Michael D. Cohen Collegiate Professor
School of Information
Avatar

Steve Oney

Assistant Professor
School of Information
Avatar

Jaclyn Cohen

Lecturer
School of Information

À propos de Université du Michigan

The mission of the University of Michigan is to serve the people of Michigan and the world through preeminence in creating, communicating, preserving and applying knowledge, art, and academic values, and in developing leaders and citizens who will challenge the present and enrich the future....

À propos de la Spécialisation Python 3 Programming

This specialization teaches the fundamentals of programming in Python 3. We will begin at the beginning, with variables, conditionals, and loops, and get to some intermediate material like keyword parameters, list comprehensions, lambda expressions, and class inheritance. You will have lots of opportunities to practice. You will also learn ways to reason about program execution, so that it is no longer mysterious and you are able to debug programs when they don’t work. By the end of the specialization, you’ll be writing programs that query Internet APIs for data and extract useful information from them. And you’ll be able to learn to use new modules and APIs on your own by reading the documentation. That will give you a great launch toward being an independent Python programmer. This specialization is a good next step for you if you have completed Python for Everybody but want a more in-depth treatment of Python fundamentals and more practice, so that you can proceed with confidence to specializations like Applied Data Science with Python. But it is also appropriate as a first set of courses in Python if you are already familiar with some other programming language, or if you are up for the challenge of diving in head-first....
Python 3 Programming

Foire Aux Questions

  • Une fois que vous êtes inscrit(e) pour un Certificat, vous pouvez accéder à toutes les vidéos de cours, et à tous les quiz et exercices de programmation (le cas échéant). Vous pouvez soumettre des devoirs à examiner par vos pairs et en examiner vous-même uniquement après le début de votre session. Si vous préférez explorer le cours sans l'acheter, vous ne serez peut-être pas en mesure d'accéder à certains devoirs.

  • Lorsque vous vous inscrivez au cours, vous bénéficiez d'un accès à tous les cours de la Spécialisation, et vous obtenez un Certificat lorsque vous avez réussi. Votre Certificat électronique est alors ajouté à votre page Accomplissements. À partir de cette page, vous pouvez imprimer votre Certificat ou l'ajouter à votre profil LinkedIn. Si vous souhaitez seulement lire et visualiser le contenu du cours, vous pouvez accéder gratuitement au cours en tant qu'auditeur libre.

D'autres questions ? Visitez le Centre d'Aide pour les Etudiants.