How to Program: Computer Science Concepts and Python Exercises Season 1 Episode 2

Ep 2. Variables: Operations and Input/Output

  • TV-PG
  • November 1, 2016
  • 36 min

How to Program: Computer Science Concepts and Python Exercises is a series that teaches viewers the basics of computer programming and the Python programming language. In season 1 episode 2, titled Variables: Operations and Input/Output, viewers will learn about the fundamentals of working with variables in Python.

The episode begins with an explanation of what variables are and why they are important in programming. Viewers will learn about the different types of data that can be stored in variables, including integers, floats, and strings. The host will demonstrate how to declare and assign values to variables in Python, and will discuss the rules for naming variables.

Next, the focus turns to performing operations with variables. The host will explain how to use arithmetic operators like +, -, *, and / to perform mathematical calculations with variables. Viewers will learn how to use parentheses to control the order of operations when working with more complex expressions, and will also be introduced to the modulo operator for finding remainders.

The episode also covers how to use Python to get input from the user of a program. Viewers will learn how to use the input() function to prompt the user for information, and how to store that information in a variable for later use. The host will show examples of how to validate user input using conditional statements to ensure that only valid data is stored in variables.

Finally, the episode will cover how to output data from a program using print statements. Viewers will learn how to use the print() function to display the contents of variables, as well as how to combine text and variables in a single output statement.

Throughout the episode, viewers will also be given various programming exercises to work on, allowing them to practice the concepts presented in the episode. These exercises range from simple calculations to more complex programs that involve taking user input and performing operations with variables.

Overall, Variables: Operations and Input/Output is an essential episode for anyone looking to learn more about the basics of programming in Python. With clear explanations and practical exercises, viewers will gain the skills and knowledge needed to start creating their own Python programs with confidence.

Description
Watch How to Program: Computer Science Concepts and Python Exercises - Variables: Operations and Input/Output (s1 e2) Online - Watch online anytime: Buy, Rent
How to Program: Computer Science Concepts and Python Exercises, Season 1 Episode 2, is available to watch and stream on The Great Courses Signature Collection. You can also buy, rent How to Program: Computer Science Concepts and Python Exercises on demand at Amazon Prime, Amazon, Hoopla online.
  • First Aired
    November 1, 2016
  • Content Rating
    TV-PG
  • Runtime
    36 min
  • Language
    English