Bummer! This is just a preview. You need to be signed in with a Treehouse account to view the entire video.
Introduction1:19 with Kenneth Love
An overview of what Python is and what we'll be learning in this course.
If you want to find out more about Python, be sure to visit the official site. There are links to downloads, documents, and tutorials to explore in addition to our videos.
function - A piece of a program that you can call to make it do work for you. E.g.
print() is a function that prints something to the screen.
argument - A bit of information that you pass to a function. For example, the string you pass to
print("like this") is what gets printed out.
What do you get when you mash up a
Dutch programmer, significant white space and the Spanish Inquisition.
Hi, I'm Kenneth, I'm one of the teachers here at Tree
House and we're going to learn my favorite programming language, Python.
In fact, if I could speak Python instead of English I, okay, that's just silly.
Python is a versatile scripting language from
the late 80s invented by Guido van Rossum.
It's great for beginners and professionals alike.
In this course, we're gonna get you up to speed and comfortable so you
can start to understand Python and use it yourself for day to day tasks.
In fact, let's look at what we're gonna build by the end of this course.
This is the script that we're going to be building at the end of this course.
It's about 35 lines of code and for the
most part, it's a pretty basic number guessing game.
The computer picks a random number and then you
have to guess it within a certain number of tries.
Let's see how it plays [SOUND].
>> So I have to guess a number between one and ten.
Let's start with five.
Numbers higher than five.
Let's try eight.
Numbers higher than eight.
Let's try nine.
It's higher than nine.
Oh, it must be ten then.
It took us four tries.
So that's how the game will play.
Ready, let's get started.
You need to sign up for Treehouse in order to download course files.Sign up