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
Create a reusable function to remove calculations
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
They forgot that there's a service
charge involved with each transaction.
0:00
You can't sell tickets without
a service charge, right?
0:02
Now this works a little differently.
0:06
Each purchase, not each ticket,
has a service charge of $2.
0:08
Every time you demo your software,
users will request additional features.
0:13
It happens all the time.
0:16
This is why it's important to get working
software in front of your stakeholders.
0:18
This is actually a good chance
to take a look at our code and
0:22
see if we can't refactor it a bit
to make it more easy to read.
0:25
Well, there's a term we haven't
touched on yet, refactor.
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