Загрузка страницы

if statements | Intro to computer science - Python | Khan Academy

Courses on Khan Academy are always 100% free. Start practicing—and saving your progress—now! https://www.khanacademy.org/computing/intro-to-python-fundamentals/x5279a44ae0ab15d6:designing-algorithms-with-conditionals

Learn how to branch control flow with conditionals. Trace the execution of an if statement to understand how the computer chooses which line of code to execute next. View the program used in this video at: https://www.khanacademy.org/python-program/if-statements-takeout-orders/5476552059568128

Khan Academy is a nonprofit organization with the mission of providing a free, world-class education for anyone, anywhere. We offer quizzes, questions, instructional videos, and articles on a range of academic subjects, including math, biology, chemistry, physics, history, economics, finance, grammar, preschool learning, and more. We provide teachers with tools and data so they can help their students develop the skills, habits, and mindsets for success in school and beyond. Khan Academy has been translated into dozens of languages, and 15 million people around the globe learn on Khan Academy every month. As a 501(c)(3) nonprofit organization, we would love your help!

Donate or volunteer today! Donate here: https://www.khanacademy.org/donate?utm_source=youtube&utm_medium=desc

Volunteer here: https://www.khanacademy.org/contribute?utm_source=youtube&utm_medium=desc

TIMESTAMPS:
00:00 - 00:23 : what is a conditional?
00:24 - 00:51 : if statement syntax
00:52 - 01:16 : if statement execution
01:17 - 01:46 : num_orders example
01:47 - 02:57 : tracing True and False cases
02:58 - 03:38 : example in the code editor
03:39 - 04:37 : testing all possible branches

Видео if statements | Intro to computer science - Python | Khan Academy канала Khan Academy
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
26 июня 2024 г. 9:35:44
00:04:38
Другие видео канала
Variables program design: catering contract | Intro to computer science - Python | Khan AcademyVariables program design: catering contract | Intro to computer science - Python | Khan Academyif statements program design: bus fare | Intro to computer science - Python | Khan Academyif statements program design: bus fare | Intro to computer science - Python | Khan AcademyModules program design: robot sim | Intro to computer science - Python | Khan AcademyModules program design: robot sim | Intro to computer science - Python | Khan AcademyPlus operator and the print function | Intro to computer science - Python | Khan AcademyPlus operator and the print function | Intro to computer science - Python | Khan AcademyUser input and frontend development | Intro to computer science - Python | Khan AcademyUser input and frontend development | Intro to computer science - Python | Khan AcademyEvaluating expressions with variables | Intro to computer science - Python | Khan AcademyEvaluating expressions with variables | Intro to computer science - Python | Khan AcademyIntro to tracing program execution | Intro to computer science - Python | Khan AcademyIntro to tracing program execution | Intro to computer science - Python | Khan Academyelif and else program design: space weights | Intro to computer science - Python | Khan Academyelif and else program design: space weights | Intro to computer science - Python | Khan AcademyIntro to algorithms and selection | Intro to computer science - Python | Khan AcademyIntro to algorithms and selection | Intro to computer science - Python | Khan Academywhile loops | Intro to computer science - Python | Khan Academywhile loops | Intro to computer science - Python | Khan AcademyType casting | Intro to computer science - Python | Khan AcademyType casting | Intro to computer science - Python | Khan AcademyEvaluating compound boolean expressions | Intro to computer science - Python | Khan AcademyEvaluating compound boolean expressions | Intro to computer science - Python | Khan AcademyImporting modules | Intro to computer science - Python | Khan AcademyImporting modules | Intro to computer science - Python | Khan AcademyTracing loop execution | Intro to computer science - Python | Khan AcademyTracing loop execution | Intro to computer science - Python | Khan AcademyWhat is computer science? | Intro to computer science - Python | Khan AcademyWhat is computer science? | Intro to computer science - Python | Khan AcademyWhat is a variable? | Intro to computer science - Python | Khan AcademyWhat is a variable? | Intro to computer science - Python | Khan AcademyDebugging with linters and stack traces | Intro to computer science - Python | Khan AcademyDebugging with linters and stack traces | Intro to computer science - Python | Khan AcademyFormal definition of limits Part 1: intuition review | AP Calculus AB | Khan AcademyFormal definition of limits Part 1: intuition review | AP Calculus AB | Khan AcademyChanges in income, population, or preferences | Microeconomics | Khan AcademyChanges in income, population, or preferences | Microeconomics | Khan AcademyBlackbody radiation | Physics | Khan AcademyBlackbody radiation | Physics | Khan AcademyArea between a curve and the x-axis: negative area | AP Calculus AB | Khan AcademyArea between a curve and the x-axis: negative area | AP Calculus AB | Khan Academy
Яндекс.Метрика