Programming for GCSE Topic 3.1: If Statements in Python
T L C eaching ondon omputing
Programming for GCSE Topic 3.1: If Statements
in Python
William Marsh School of Electronic Engineering and Computer Science
Queen Mary University of London
Aims
? If statement basics ? Visualising `If'
? Language ? Boxes ? Scratch
? Comparisons
? Boolean expressions
? More complex `If' statements
SIMPLE `IF' STATEMENTS
Simple `If' Statement
? Change the statements in a program
age = int(input("How old?"))! if age > 21:!
print("Cool! A grown up")!
Key word
Condition
:
indentation
VISUALISING `IF'
Indentation versus brackets
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- python conditional statements
- computer science 1000 part 7 programming in python p l
- unit 3 boolean expressions if statements python tutorial
- programming for gcse topic 3 1 if statements in python
- python if else rxjs ggplot2 python data persistence
- conditional and iterative statements
- conditional statements in python
- python selection if else basic selection statement
- python iterative statements
Related searches
- multiple if statements in tableau
- nested if statements in excel with dates
- embedded if statements in excel
- multiple if statements in excel
- if statements in verilog
- if statements in excel color change
- multiple return statements in python function
- if statement in python example
- 2 if statements in one formula
- excel two if statements in one cell
- multiple if statements in one cell
- combining multiple if statements in excel