Modules program design: robot sim | Intro to computer science - Python | Khan Academy
- Title:
- Modules program design: robot sim | Intro to computer science - Python | Khan Academy
- Description:
-
more » « less
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:simulating-phenomena-with-loops
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: https://www.khanacademy.org/python-program/modules-program-design-robot-sim/5054892342951936
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: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 - Video Language:
- English
- Team:
- Khan Academy
- Duration:
- 04:44
Amara Bot edited English subtitles for Modules program design: robot sim | Intro to computer science - Python | Khan Academy | ||
Somebody (possibly automatically) added a video: Modules program design: robot sim | Intro to computer science - Python | Khan Academy |