Search for tag: "expression"

Baker Institute Seminar Series: Charles Danko, PhD "Transcription as a lens for interpreting genome sequence"

BAKER INSTITUTE SPECIAL SEMINARCharles Danko, PhD, Robert N. Noyce Assistant Professor in Life Sciences and TechnologyCollege of Veterinary Medicine, “Transcription as a lens for interpreting…

From  Heather Hughes on September 24th, 2020 0 plays

Lesson 9.5 Conditional Expressions

While there are no more conditional statements, Python does support a conditional expression. In this video we introduce an expression that evalues to something different, depending upon the boolean…

From  Hannah Lee on September 24th, 2020 0 plays

Lesson 9.4 If-Elif Statements

In this video we introduce the final conditional statement, the if-elif-else statement. This allows you to chose between an arbitrary number of options.

From  Hannah Lee on September 24th, 2020 0 plays

Lesson 9.3 If-Else Statements

In this video we introduce the if-else statement. It is like the if statement, except that you now chose between two options.

From  Hannah Lee on September 24th, 2020 0 plays

Lesson 9.2 If Statements

In this video, we introduce this simplest form of conditional statement, the ifstatement. It allows us to skip over code if we do not wish to execute it.

From  Hannah Lee on September 24th, 2020 0 plays

Lesson 6.3 String Methods

Strings do not have a lot of functions associated with them. Instead, strings have methods. As we see in this video, methods behave almost exactly like functions, except that the syntax for calling…

From  Hannah Lee on September 16th, 2020 5 plays

Lesson 5.4 Fruitful Functions

In this video we show how to define the definition of a fruitful function (a function that can be used as an expression). It requires a new type of command: the return statement.

From  Hannah Lee on September 11th, 2020 2 plays

Lesson 5.2 Procedures

In this video, we show you how to define a procedure in the Python interactive shell. Recall that a procedure is a function that is used as a command.

From  Hannah Lee on September 11th, 2020 4 plays

Lesson 5.1 Function Terminology

This video series is where we start to pile on the vocabulary. In this video we reveiw the most important vocabulary terms for this series, and show you where to look if you are unsure about a word.

From  Hannah Lee on September 11th, 2020 5 plays

Lesson 4.6 Interactive Scripts

Right now, we do not know a lot of Python commands, and so our scripts are pretty boring. But we can make them a lot more interesting with a function that we have already seen: the input function. In…

From  Hannah Lee on September 9th, 2020 4 plays

Lesson 3.4 Python Documentation

While this new video/lecture format is allowing us to show you things we could not cover in year’s past, there is a limit to how much we can show you. Sometimes you are just going to need to…

From  Hannah Lee on September 9th, 2020 4 plays

Lesson 3.2 String Functions

Strings are very powerful type that we will use in the first major assignment. In this video we introduce the three main string functions that you should be aware of.

From  Hannah Lee on September 9th, 2020 3 plays

Lesson 3.1 Built-In Functions

The easiest functions to use in Python are those that are built into it. They are listed on the Python Documentation page. In this video we examine some of these and show the syntax for how to use…

From  Hannah Lee on September 9th, 2020 3 plays

Lesson 2.4 Dynamic Typing

If you have programmed before (and it is okay if you have not), you may be used to variables having the restriction that they can only contain specific types. This is not the case in Python, and that…

From  Hannah Lee on September 7th, 2020 2 plays

Lesson 2.3 Sequential Execution

Now that we have assignment statements, it is time to move beyond the simple calculator model of Python. As we see in this video, the order in which we type Python commands matters.

From  Hannah Lee on September 7th, 2020 1 plays

Lesson 2.2 Assignment Statements

Now that we have some idea of what a variable is, it is time to start creating them. We do that with assignment statements, which are the subject of this video.

From  Hannah Lee on September 7th, 2020 2 plays