Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python The Problem: For Loops

There isn't a workspace for this video. I will just use cloud 9, but it is difficult to see the questions

Workspace

2 Answers

Steven Parker
Steven Parker
231,269 Points

It seems odd this would be left out, but you can always go directly to the Workspaces page, select "new +" and create a new Python environment workspace.

You could also jump to the next video long enough to launch the workspace there, and then go back to the first video.

Everett Hubbard
Everett Hubbard
11,446 Points

If the solution of creating a new file to work through this challenge is the direction to move in, the comments from For.py are as follows:

# Columns: Name, Day/Month, Celebrates, Age

# Problem 1: Celebrations
    # Loop through all of the people in BIRTHDAYS
    # If they celebrate their birthday, print out
    # "Happy Birthday" and their name

# Problem 2: Half birthdays
    # Loop through all of the people in BIRTHDAYS
    # Calculate their half birthday (six months later)
    # Print out their name and half birthday

# Problem 3: Only school year birthdays
    # Loop through the people in BIRTHDAYS
    # If their birthday is between September (9)
    # And June (6), print their name

# Problem 4: Wishing stars
    # Loop through BIRTHDAYS
    # If the person celebrates their birthday,
    # AND their age is 10 or less,
    # Print out their name and as many stars as their age

Recommendation for TeamTreehouse moderators who may review this comment: please add the Launch Workspace option to the first video. This would make for a more intuitive experience.

Steven Parker
Steven Parker
231,269 Points

In case they don't re-read old posts like this one, you might want to make suggestions to the staff directly as described on the Support page.