Skip to main content
EduEquity - Free A Level & GCSE Resources
View All
Search
Shelves
Books
Log in
Info
Content
Books
Exam Overview and Tips
Pseudocode Vs Python Q...
Pseudocode Vs Python Quick Reference (A2)
PSEUDOCODE VS PYTHON QUICK REFERENCE
Pseudocode
Python
DECLARE x : INTEGER
x = 0
IF condition THEN
if condition:
ELSE
else:
ENDIF
(indentation)
FOR i ← 1 TO 10
for i in range(1, 11):
NEXT i
(indentation)
WHILE condition
while condition:
ENDWHILE
(indentation)
REPEAT
while True:
UNTIL condition
if condition: break
OUTPUT "text"
print("text")
INPUT x
x = input()
PROCEDURE name
def name():
FUNCTION name RETURN type
def name():
ARRAY[0:9]
list of size 10
TRUE/FALSE
True/False
Enter section select mode
Previous
Checklist for A2
Back to top