keyboard_arrow_left keyboard_arrow_right
Elsa's Project

Stars and Sky

About Elsa

Elsa enjoys learning the basics of Python with Ms Ramya. The lessons are age appropriate, structured using patterns, visuals and projects that appeals to her young mind. Thank you.
I like video games, watching TV, and reading books (mostly thick books). I also like writing! I wrote my first book called The Hawk’s Jewel.

Elsa's project details:

The project randomizes many different stars in many different places. The background colour is black. Watch it make beautiful artwork below in the project box! I hope you enjoy the project!
1. Click on the “RUN” button below to run the program.
2. This is very interesting. And I hope you all would surely enjoy and like it.
Click on
   
play icon below to run the code and see the magic unfolding.

Elemental Quiz!

I like video games, watching TV, and reading books (mostly thick books). I also like writing! I wrote my first book called The Hawk’s Jewel, which is published on lulu.com I am working on my second book, called The Fire Ruby.
This is a quiz which tells you what kind of person you are! Hit that play button and test your likings!

fire = 0
water = 0
earth = 0
wind = 0
import time
print('Welcome to the Elemental Quiz!')
time.sleep(2)
print("But before we start the quiz, I want to tell you something.")
time.sleep(2)
print("There are four elements in this quiz to tell you what kind of person you are.")
time.sleep(2)
print("The elements are : fire, water, earth and wind.")
time.sleep(2)
Startquizquestion = input('Are you ready to start the quiz? (Yes or No) : ')
if Startquizquestion == "yes" or Startquizquestion == "Yes":
    if Startquizquestion == 'Yes' or Startquizquestion == 'yes' or Startquizquestion == 'YES':
        print("Alright! Let's start the quiz!")
        time.sleep(2)
        print('\n                         QUIZ TIME')
        print("-----------------------------------------------------------")
        time.sleep(2)
        No1 = input('Question no.1: ¦ What weather do you prefer? (A) Rain (B) Sunny (C) Spring (D) Windy (not too much!)')
        if No1 == 'A' or No1 == 'a':
            water = water+1
        elif No1 == 'B' or No1 == 'b':
            fire = fire+1
        elif No1 == 'C' or No1 == 'c':
            earth = earth+1
        elif No1 == 'D' or No1 == 'd':
            wind=wind+1
        time.sleep(2)
        print('Your answer to question no.1 has been received.')
        time.sleep(2)
        No2 = input('''Question no.2 ¦ What is your favorite color? (A) All kinds of blue! (B) Red, orange and yellow
        (C) All kinds of green or brown! (D) White, white, and more white!''')
        if No2 == 'A' or No2 == 'a':
            water = water+1
        elif No2 == 'B' or No2 == 'b':
            fire = fire+1
        elif No2 == 'C' or No2 == 'c':
            earth = earth+1
        elif No2 == 'D' or No2 == 'd':
            wind=wind+1
        time.sleep(2)
        print('Your answer to question no.2 has been received.')
        time.sleep(2)
        No3 = input('''Question no.3 ¦ What would you prefer to do? (A) Swim! (B) Watch fireworks. They are pretty!
        (C) Plant trees! (D) Blow bubbles!''')
        if No3 == 'A' or No3 == 'a':
            water = water+1
        elif No3 == 'B' or No3 == 'b':
            fire = fire+1
        elif No3 == 'C' or No3 == 'c':
            earth = earth+1
        elif No3 == 'D' or No3 == 'd':
            wind=wind+1
        time.sleep(2)
        print('Your answer to question no.3 has been received.')
        time.sleep(2)
        No4 = input('''Question no.4 ¦ What kind of music do you like? (A) Peaceful music, with NO singing, NO rapping etc
        (B) METAL MUSIC!! (C) Operas? (D) Rapping music :D ''')
        if No4 == 'A' or No4 == 'a':
            water = water+1
        elif No4 == 'B' or No4 == 'b':
            fire = fire+1
        elif No4 == 'C' or No4 == 'c':
            earth = earth+1
        elif No4 == 'D' or No4 == 'd':
            wind=wind+1
        time.sleep(2)
        print('Your answer to question no.4 has been received.')
        time.sleep(2)
        No5 = input('''Question no.5 ¦ What kind of book do you like? (A) Science experiment books!! (B) Adventure books!
        (C) Crime/Fiction books! (D) Riddle/poems books''')
        if No5 == 'A' or No5 == 'a':
            water = water+1
        elif No5 == 'B' or No5 == 'b':
            fire = fire+1
        elif No5 == 'C' or No5 == 'c':
            earth = earth+1
        elif No5 == 'D' or No5 == 'd':
            wind=wind+1
        time.sleep(2)
        print('Your answer to question no.5 has been received.')
        time.sleep(2)
        No6 = input('''Question no.6 ¦ What kind of drink do you like? (A) Water. Simple. (B) SoDa PaRtY!
        (C) BUBBLE TEAAAAA YEAAA (D) Milk!''')
        if No6 == 'A' or No6 == 'a':
            water = water+1
        elif No6 == 'B' or No6 == 'b':
            fire = fire+1
        elif No6 == 'C' or No6 == 'c':
            earth = earth+1
        elif No6 == 'D' or No6 == 'd':
            wind=wind+1
        time.sleep(2)
        print('Your answer to question no.6 has been received.')
        time.sleep(2)
        No7 = input('''Question no.7 ¦ Which city would you travel to? (A) Venice (B) London (C) TOKYOO
        (D) Kuala Lumpur!''')
        if No7 == 'A' or No7 == 'a':
            water = water+1
        elif No7 == 'B' or No7 == 'b':
            fire = fire+1
        elif No7 == 'C' or No7 == 'c':
            earth = earth+1
        elif No7 == 'D' or No7 == 'd':
            wind=wind+1
        time.sleep(2)
        print('Your answer to question no.7 has been received.')
        time.sleep(2)
        No8 = input('''Question no.8 ¦ What is your favorite sport? (A) TENNIS (B) Football/Soccer! (C) Basketball!
        (D) Baseball.''')
        if No8 == 'A' or No8 == 'a':
            water = water+1  
        elif No8 == 'B' or No8 == 'b':
            fire = fire+1
        elif No8 == 'C' or No8 == 'c':
            earth = earth+1
        elif No8 == 'D' or No8 == 'd':
            wind=wind+1
        time.sleep(2)
        print('Your answer to question no.8 has been received.')
        time.sleep(2)
        if fire == water and water == earth and earth == wind and wind == fire:
            print('Bonus Question Now!')
            time.sleep(2)
            Bonus = input('''BONUS QUESTION! ¦ What is your favorite bug? (A) Spiders! (B) Caterpillars
            (C) Scorpions (D) Butterflies! (Small note from Elsa: It's kind of torture I know.)''')
        elif fire > water and fire > earth and fire > wind:
            print('You are a person who NEVER passes the chance to have even a small adventure!')
        elif water > fire and water > earth and water > wind:
            print('You are a calm person, who likes natural things, and staying hydrated.')
        elif earth > fire and earth > water and earth > wind:
            print('You love nature, and you like going on walks and helping the planet.')
        elif wind > fire and wind > earth and wind > water:
            print("You prefer open spaces, airy balconies and don't even mind about being cold!")
        elif wind == fire or wind == earth or wind == water:
            print('You are the combination of two elements.')
else:
    print("Thank you for visiting my quiz. Please try attempting my quiz sometime later when you are free to try.")
                                 
Name: Elsa Khairil
Grade: 3
Be the Next Creator like :

  Elsa enjoys learning the basics of Python with Ms. Ramya. The lessons are age-appropriate, structured using patterns, visuals, and projects that appeal to her young mind. Thank you
Parents of Elsa Khairil