Showing posts with label Python. Show all posts
Showing posts with label Python. Show all posts

Friday, November 19, 2021

Homeschool Day 11/19 - Python Coding

 We worked more with Python and our Raspberry Pi 3b+.  The 9th grader wrote code for the Matchmaker game in the book Coding Projects in Python.  The game wouldn't work, so I had to look through the code and figure out why.  She misspelled a word and missed a space and that caused the game to crash.  We fixed it and the game worked!

I coded the graphics "Starry Night" from the same book.  It's similar to the code in this video:



Friday, November 12, 2021

Homeschool Day 11/12

 We don't usually do schoolwork on Fridays, but today we spent a lot of time on Python coding/programming.  Earlier this semester, we put together a Raspberry Pi 3b+.  It's a mini computer that was designed to teach kids programming and computer science.  

Today, for Python, we opened Idle and wrote code to make a kaleidoscope graphic that rotates in a circle, changes color and changes size.


We used different code than this video, but what we did was very similar.  My kids learned how to save the code as a file and run the module.

Writing code can be tedious, but it was exciting to see our code work.  Instead of watching the entire video, you can fast forward to the end to see the kaleidoscope.













Field Trip: Fort Worth Zoo

Link to the Fort Worth Zoo's Website Tickets are about $22 adult, $18 for children.  There's a half-price Wednesday, but it was extr...