You are on page 1of 1

26/09/22

Hexadecimal - Base 16 - 16 Characters - 0123456789ABCDEF

Value Denary Hex Binary

Zero 0 0 0000
One 1 1 0001
Two 2 2 0010
. . . .
. . . .
. . . .
Nine 9 9 1001
Ten 10 A 1010
Eleven 11 B 1011
Twelve 12 C 1100
Thirteen 13 D 1101
Fourteen 14 E 1110
fifteen 15 F 1111

Den -> Bin -> Hex ->


183 10110111 B7
Split line in half
1011=11 0111=7

Qu. 0011 1000


Ans. 38
Qu.1010 0010
Ans.A2
Qu.1100 1001
Ans.

!= not equal to
>= greater than equal to

X is a variable
“X” is a string

If statements
If age >17: condition statements
Indent print (“”)

While loops while the condition is true :


Indentation

You might also like