Noções Básicas de Python
Seus primeiros passos na programação — nenhuma experiência necessária.
- python
- 22 Lições
- 6 projects
- 15 videos
- Roda no seu navegador
Neste dispositivo: 0 de 22 aulas concluídas
Cada aula roda no seu navegador — escreva código real, pressione Executar e as tarefas se verificam sozinhas. Grátis, sem necessidade de conta, com notas traduzidas em par com o inglês.
Lições neste curso
26 de 26 aulas mostradas
Nenhuma aula corresponde. Limpe a busca ou escolha outro filtro.
Part 1 You build: Project: Mad Libs
- Execute! Os botões · Quando algo dá errado · Quando um programa espera por você Lesson 0 · 3 tarefas obrigatórias · ★
- Seu primeiro programa Show text with print · Strings · Comments Lesson 1 · 3 tarefas obrigatórias · ★ Vídeo
- Variáveis A box with a name · Make a variable · Naming rules · Change a variable Lesson 2 · 3 tarefas obrigatórias · ★ Vídeo
- Números & operadores Two kinds of number · Add, subtract, multiply, divide · Whole-number division, remainder, powers · Order of operations Lesson 3 · 3 tarefas obrigatórias · ★ Vídeo
- Obtendo entrada Ask the user with input · When your program waits · input always gives a string · Turn text into a number Lesson 4 · 3 tarefas obrigatórias · ★ Vídeo
- Trabalhando com strings Letters have positions · Take a slice · Length and changing case · f-strings build text Lesson 5 · 4 tarefas obrigatórias · ★★ Vídeo
- Projeto Project: Mad Libs Collect the words · Change a word · A title with a line under it Projeto · ★★
Part 2 You build: Project: Guess the number
- Tomando decisões Making a choice · Comparisons · if / elif / else · The remainder Lesson 6 · 4 tarefas obrigatórias · ★★ Vídeo
- Laços de contagem Repeat with for · Counting with range · Build a total (accumulator) · Words and a number on one line Lesson 7 · 4 tarefas obrigatórias · ★★ Vídeo
- Laços While Loop while a condition is true · Always change the condition · break and continue · Checking before or after Lesson 8 · 3 tarefas obrigatórias · ★★ Vídeo
- Projeto Project: Guess the number One guess · Keep guessing · Print the count · The sentence Projeto · ★★★
Part 3 You build: Project: Quiz with a score
Part 4 You build: Project: Rock, paper, scissors
Part 5 You build: Project: Text adventure
- Escopo e argumentos Local variables · Global variables · Default values · How arguments are passed Lesson 11 · 4 tarefas obrigatórias · ★★★ Vídeo
- Dictionaries (records) Store data by name · Get and set values · A dictionary as a record · Check and loop Lesson 12 · 3 tarefas obrigatórias · ★★★ Vídeo
- Projeto Project: Text adventure A dictionary inside a dictionary · Is there a door? · Follow a list of directions · Play for real Projeto · ★★★★
Part 6 You build: Project: Hangman
- Planejamento e pseudocódigo Plan before you code · Decomposition · Abstraction · Structured English Lesson 13 · 3 tarefas obrigatórias · ★★ Vídeo
- Erros e testes Three kinds of error · Syntax errors · Runtime errors · Logic errors Lesson 14 · 3 tarefas obrigatórias · ★★★ Vídeo
- Juntando tudo The plan · Handy built-ins for lists · A pattern you will reuse: count items that pass a test Lesson 15 · 3 tarefas obrigatórias · ★★★ Vídeo
- Projeto Project: Hangman Plan first · Build a string letter by letter · Stop as soon as you know · The game loop Projeto · ★★★★
Leitura e recursos
- Uma breve história do Python Where Python came from · Why the funny name · Built for people to read · Python today Leitura e recursos
- Para que Python é usado What people build with Python · Websites and apps · Data, AI, and science · Automation Leitura e recursos
- Onde aprender mais Brincar e praticar · Ler e consultar · Mais cursos neste site · Dica Leitura e recursos
- Configure seu computador Run Python on your own computer · Step 1 — Install Python · Step 2 — Install VS Code · Step 3 — Add the Python extension Leitura e recursos
Open the Python reference
Every topic in one place, with short examples you can run.
Onde aprender mais
- freeCodeCamp — Aprenda Python Certificação gratuita e prática de Python
- PyChallenger Aprenda Python resolvendo desafios curtos
- CodeCombat Aprenda a programar jogando um jogo real
- Tutorial Oficial do Python A introdução clara, gratuita e passo a passo do python.org
- Python for Everybody (curso gratuito) Um curso querido para iniciantes do Dr. Chuck
- Visual Studio Code O editor gratuito para escrever Python no seu próprio computador
- A-Level Computer Science (este site) Aprofunde-se em Python, rumo ao exame Cambridge
- AP CS Principles (este site) As grandes ideias da computação, em Python