Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Easy Problems for Children to Solve in Python [closed]

Tags:

python

I'm going to be teaching some year 9 and 10 students Python soon and thought it would be cool to do some Project Euler type challenges with them. The first problem seems doable by them, but I think some of the others may be a bit over their head, or not require enough programming.

If anyone has a place to find some easy programming problems, or can think of any, can they please let me know.

edit: By year 9 and 10 I mean that they have been in school for 9 or 10 years. So about 13, 14, and 15 type age. Sorry for the confusion!

like image 733
ahansen Avatar asked Aug 09 '13 08:08

ahansen


1 Answers

Oh I remember something I was taught in school! My IT teacher created a class in python which attributes created a mathematical sequence. The goal was to guess the formula behind this sequence using only python. Obviously, you couldn't look at the file with class, only import it in python. Maybe there's more math than programming here, but to solve this, students will have to learn how variables, namespaces (to find the variables), loops (to print those variables), and classes (which store those variables) work in python and this is more or less everything you need to know at first, in my opinion.

Ah, good times. We also used to play "hide and seek" in shell on IT lessons: the teacher would hide a file somewhere and leave some clues scattered around, and we had to find that file using text environment on linux :)

like image 146
Dunno Avatar answered Sep 28 '22 01:09

Dunno