Program design: robot simulation | Intro to CS - Python | Khan Academy

Просмотров: 2, 167   |   Загружено: 8 мес.
icon
Khan Academy
icon
33
icon
Скачать
iconПодробнее о видео
Code along with a software engineer in this worked example using modules imports and randomness. Import and use functionality from other modules to build a basic robot simulation. Apply the random module to randomly decide the robot's movement.

View the program used in this video at:

Courses on Khan Academy are always 100% free. Start practicing—and saving your progress—now with our Intro to Computer Science - Python course!

Course link:
Course playlist:

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:

Volunteer here:

TIMESTAMPS:
00:00 - 00:32 : using multiple files
00:33 - 00:58 : main.py file
00:59 - 01:49 : using the reverse() function
01:50 - 02:55 : using the draw() function
02:56 - 03:20 : using the move_forward() function
03:21 - 04:15 : randomizing the robot's action
04:16 - 04:44 : random starting position

Похожие видео

Добавлено: 55 год.
Добавил:
  © 2019-2021
  Program design: robot simulation | Intro to CS - Python | Khan Academy - RusLar.Me