A Simple Python Quiz Program, Part 3
About this episode
We enhance the quiz program by reading the questions and answers from a file. Source code
More from Young Programmers Podcast
A look at how to, and why you should, use functions in your Python programs.
Let’s look at two very nice features of Tynker. The physics feature allows you to have falling objects and accurate projectile motion, combined with adjustments for gravity, friction, density, gravity…
This lesson creates a simple calculator using a dictionary to look up functions for operators. The point is to practice more with dictionaries, and to learn about higher-order functions. Source code
Showing how to create multiple turtles in Kojo, and make them wander around. Uses Scala features map and foreach.
We show how to use Python's input function to get numbers, without the program breaking if something other than a number is entered.