I Haz Codes

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Menu
Introduction to variables
Input and variables
Variables - Casting
Variables and I/O

Variables allow you to save a value for later use. This later use may be to display it or to perform further calculations. Whatever the reason variables form the backbone of most programs.

Introduction to variables

Learn This first lesson in python will take a look at how programs can remember values to be used later on in the form of a variable. The lesson also starts to consider where variables are stored in the computers hardware and links in other CS theory. Try You need to add to the program […]

Input and variables

Learn This second lesson on variables will introduce the input command. Although a simple command, there are lots of mistake beginner coders make which this video will explore. Try You need to add to the program below Run the code below. Make sure you understand what each line is doing. Add a forth variable for […]

Variables - Casting

Learn In this lesson you will learn how to cast values. This means changing the data type of your code. This is a very important skill to master, especially when using basic input. Try Write a program which will pick two random numbers and ask the user to work out the sum. If they are […]

Helpful links

todo


		

Leave a Reply

Your email address will not be published. Required fields are marked *

Information