Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Python Basics!
You have completed Python Basics!
Preview
Let's kick out the information gathering stories for this project
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
It has a single file in it
called masterticket.py.
0:00
It's not trademarked, is it, masterticket?
0:01
This file has a single constant defined,
TICKET_PRICE.
0:03
$10, that's very reasonable.
0:08
There's also a counter that is
called tickets_remaining, and
0:10
it's been set up to have
100 tickets available.
0:13
Now that's a pretty small and
intimate space.
0:16
Let's say we grab
the first user story here,
0:18
of as a User I should be shown
the number of tickets left remaining so
0:21
I can understand
the importance of buying now.
0:24
I'm gonna put that In Progress.
0:26
So let's flip back over here.
0:29
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up