Celebrate National STEM Day with iCode Fishers on November 8th!

Join us as we celebrate National STEM Day and spark curiosity in young minds through exciting hands-on activities. At iCode Fishers, we are committed to inspiring future innovators by providing engaging experiences in science, technology, engineering, and mathematics. This special day offers a chance for students to explore their potential and discover the fun side of STEM learning.

We are proud to be the first STEM.org-accredited institution to purchase on the blockchain, demonstrating our dedication to both innovation and transparency. Our programs empower students to develop critical thinking and problem-solving skills while working with cutting-edge technologies like robotics, drones, and coding.

To make the day even more memorable, we’re hosting a fun Python coding challenge for kids! Whether your child is new to programming or already loves to code, this interactive challenge will engage their creativity and logical thinking in a supportive and playful environment.

Visit us at our Open House November 8th from 6:00 – 8:00 PM!

Sign up for free

 

Python Coding Challenge for Kids: “Secret Message Decoder” 🕵️‍♀️

Challenge:
Create a program that takes a secret message (a sentence) and turns it into a coded message by shifting each letter forward in the alphabet (called a Caesar Cipher). For example, shifting the word “Python” by 1 letter becomes “Qzuipo.”

Instructions:

  1. Ask the user to type a secret message.
  2. Shift each letter in the message forward by 1 letter. (For example, A ➡️ B, B ➡️ C).
  3. Print the new coded message.
  4. (Optional) Add a feature to decode the message by shifting letters backwards!

Example Output:

yaml
Enter your secret message: Hello
Your coded message is: Ifmmp

Starter Code:

python

# Fun Python coding challenge: Secret Message Decoder

# Ask the user for a secret message
message = input(“Enter your secret message: “)

# Create an empty string to store the coded message
coded_message = “”

# Loop through each letter in the message
for letter in message:
# Check if the character is a letter
if letter.isalpha():
# Shift the letter by 1 and handle wrap-around from ‘z’ to ‘a’
shifted = chr((ord(letter) – 97 + 1) % 26 + 97) if letter.islower() else chr((ord(letter) – 65 + 1) % 26 + 65)
coded_message += shifted
else:
# Add non-letter characters as they are
coded_message += letter

# Print the coded message
print(“Your coded message is:”, coded_message)

Bonus Challenge:

  • Add an input option to shift the letters by any number the user chooses.
  • Allow users to choose whether to encode or decode the message.

This challenge is fun and simple, teaching kids about loops, string manipulation, and the basics of encryption! 🔐

 

Don’t miss this opportunity to celebrate STEM with us and inspire the next generation of innovators. Explore our wide range of programs, tour our facility, and see firsthand why iCode Fishers is leading the way in STEM education. Together, let’s make National STEM Day a day to remember!

graphic of a blue and yellow blob
graphic of a yellow blob
Codie Bot
Need some help? Ask Codie!
×
Codie's Answer:

Note: Codie is an artificially intelligent bot. Like all AI powered bots, he’s usually right, but not always

Game on! Get in on eSports action with iSports – Sign up now and show off your skills!
Game on! Get in on eSports action with iSports – Sign up now and show off your skills!