编程基础
从第一行代码开始,像程序员一样思考。
Never written a line of code? Start here. This track teaches the ideas behind every programming language: values and variables, decisions, loops, functions, lists and dictionaries, and how to break a problem into steps and fix your own bugs.
You write real Python 3.14 from the very first lesson and see how the same ideas look in JavaScript. Every lesson is short and packed with quizzes, so you learn by doing.
- 课时
- 24
- 时长
- 3 小时
- 级别
- 初级
本课程的内容目前为英文。
- 铜牌 可挑战
- 银牌 可挑战
- 金牌 未解锁
准备好证明自己了吗?
三场考试正等着你:铜牌、银牌和金牌。
学完后你将能够
- Read and write short Python programs with confidence
- Store and work with data using variables, lists and dictionaries
- Control a program with conditions and loops
- Split a problem into small, reusable functions
- Read error messages and debug your own code
- Build a working leaderboard from scratch
学习旅程
1 第 1 单元What programming is
How computers follow instructions, what a programming language is, and your first Python program.
0 / 32 第 2 单元Values and variables
Numbers, text and true or false, stored in variables and shown with f-strings.
0 / 43 第 3 单元Decisions
Compare values and choose what happens next with if, elif and else.
0 / 34 第 4 单元Repetition
Let the computer do the boring part with while and for loops.
0 / 45 第 5 单元Functions
Package steps into reusable functions that take inputs and return results.
0 / 36 第 6 单元Collections
Keep many values together in lists and dictionaries, and loop over them.
0 / 37 第 7 单元Thinking like a programmer
Break problems down, plan in pseudocode, fix bugs and build a leaderboard.
0 / 4