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 Python Basics (2015) Number Game App Squared

Rafal MAjewski
Rafal MAjewski
1,587 Points

how to go to another lesson without finish last task

I wrote this code

def squared(num): try: squared=int(num)*int(num) return squared except ValueError: print(3*num)

and this show me that i was wrong. I would like do go to another lessons, what should i do

squared.py
def squared(num):
    try:
         square=num**2
        return square
    except ValueError:
        print("timtimtim")

2 Answers

William Li
PLUS
William Li
Courses Plus Student 26,868 Points

By clicking the Python Basics course title at the upper-left corner of the page, you'll be taken back to the Course Outline page, there you can freely choose whichever lecture video to watch.