-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCharacter Ascii Codes in Dec-Oct-Hex-Bin.py
More file actions
64 lines (56 loc) · 5.19 KB
/
Character Ascii Codes in Dec-Oct-Hex-Bin.py
File metadata and controls
64 lines (56 loc) · 5.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# ASCII: (American Standard Code for Information Interchange)
# Below is the ascii code character chart in decimal. Each character has an ascii code value.
# Note: the ascii code value for the spacebar, or blank space character key is 32
# blank space = 32, ! = 33, " = 34, # = 35, $ = 36, % = 37, & = 38, ' = 39, ( = 40, ) = 41, * = 42
# + = 43, , = 44, - = 45, . = 46, / = 47, 0 = 48, 1 = 49, 2 = 50, 3 = 51, 4 = 52, 5 = 53, 6 = 54, 7 = 55
# 8 = 56, 9 = 57, : = 58, ; = 59, < = 60, = = 61, > = 62, ? = 63, @ = 64, A = 65, B = 66, C = 67
# D = 68, E = 69, F = 70, G = 71, H = 72, I = 73, J = 74, K = 75, L = 76, M = 77, N = 78, O = 79
# P = 80, Q = 81, R = 82, S = 83, T = 84, U = 85, V = 86, W = 87, X = 88, Y = 89, Z = 90, [ = 91
# \ = 92, ] = 93, ^ = 94, _ = 95, ` = 96, a = 97, b = 98, c = 99, d = 100, e = 101, f = 102, g = 103
# h = 104, i = 105, j = 106, k = 107, l = 108, m = 109, n = 110, o = 111, p = 112, q = 113, r = 114
# s = 115, t = 116, u = 117, v = 118, w = 119, x = 120, y = 121, z = 122, { = 123, | = 124, } = 125
# ~ = 126
'''--------------------------------------------------------------------------------------------------------------------------------------'''
# ASCII: (American Standard Code for Information Interchange)
# Below is the ascii code character chart in Octal. Each character has an ascii code
# value. Note: the ascii code value for the spacebar, or blank space character key is 40
# blank space = 40, ! = 41, " = 42, # = 43, $ = 44, % = 45, & = 46, ' = 47, ( = 50, ) = 51, * = 52
# + = 53, , = 54, - = 55, . = 56, / = 57, 0 = 60, 1 = 61, 2 = 62, 3 = 63, 4 = 64, 5 = 65, 6 = 66, 7 = 67
# 8 = 70, 9 = 71, : = 72, ; = 73, < = 74, = = 75, > = 76, ? = 77, @ = 100, A = 101, B = 102, C = 103
# D = 104, E = 105, F = 106, G = 107, H = 110, I = 111, J = 112, K = 113, L = 114, M = 115, N = 116
# O = 117, P = 120, Q = 121, R = 122, S = 123, T = 124, U = 125, V = 126, W = 127, X = 130, Y = 131
# Z = 132, [ = 133, \ = 134, ] = 135, ^ = 136, _ = 137, ` = 140, a = 141, b = 142, c = 143, d = 144
# e = 145, f = 146, g = 147, h = 150, i = 151, j = 152, k = 153, l = 154, m = 155, n = 156, o = 157
# p = 160, q = 161, r = 162, s = 163, t = 164, u = 165, v = 166, w = 167, x = 170, y = 171, z = 172
# { = 173, | = 174, } = 175, ~ = 176
'''--------------------------------------------------------------------------------------------------------------------------------------'''
# ASCII: (American Standard Code for Information Interchange)
# Below is the ascii code character chart in Hexadecimal. Each character has an ascii code
# value in Hexadecimal notation. Note: the ascii code value for the spacebar, or blank space
# character key is 20
# blank space = 20, ! = 21, " = 22, # = 23, $ = 24, % = 25, & = 26, ' = 27, ( = 28, ) = 29, * = 2A
# + = 2B, , = 2C, - = 2D, . = 2E, / = 2F, 0 = 30, 1 = 31, 2 = 32, 3 = 33, 4 = 34, 5 = 35, 6 = 36, 7 = 37
# 8 = 38, 9 = 39, : = 3A, ; = 3B, < = 3C, = = 3D, > = 3E, ? = 3F, @ = 40, A = 41, B = 42, C = 43
# D = 44, E = 45, F = 46, G = 47, H = 48, I = 49, J = 4A, K = 4B, L = 4C, M = 4D, N = 4E, O = 4F
# P = 50, Q = 51, R = 52, S = 53, T = 54, U = 55, V = 56, W = 57, X = 58, Y = 59, Z = 5A, [ = 5B
# \ = 5C, ] = 5D, ^ = 5E, _ = 5F, ` = 60, a = 61, b = 62, c = 63, d = 64, e = 65, f = 66, g = 67, h = 68
# i = 69, j = 6A, k = 6B, l = 6C, m = 6D, n = 6E, o = 6F, p = 70, q = 71, r = 72 s = 73, t = 74, u = 75
# v = 76, w = 77, x = 78, y = 79, z = 7A, { = 7B, | = 7C, } = 7D ~ = 7E
'''--------------------------------------------------------------------------------------------------------------------------------------'''
# ASCII: (American Standard Code for Information Interchange)
# Below is the ascii code character chart in Binary. Each character has an ascii code value.
# Note: the ascii code value for the spacebar, or blank space character key is 100000
# blank space = 00100000, ! = 00100001, " = 00100010, # = 00100011, $ = 00100100, % = 00100101
# & = 00100110, ' = 00100111, ( = 00101000, ) = 00101001, * = 00101010, + = 00101011, , = 00101100
# - = 00101101, . = 00101110, / = 00101111, 0 = 00110000, 1 = 00110001, 2 = 00110010, 3 = 00110011
# 4 = 00110100, 5 = 00110101, 6 = 00110110, 7 = 00110111, 8 = 00111000, 9 = 00111001, : = 00111010
# ; = 00111011, < = 00111100, = = 00111101, > = 00111110, ? = 00111111, @ = 01000000, A = 01000001
# B = 01000010, C = 01000011, D = 01000100, E = 01000101, F = 01000110, G = 01000111, H = 01001000
# I = 01001001, J = 01001010, K = 01001011, L = 01001100, M = 01001101, N = 01001110, O = 01001111
# P = 01010000, Q = 01010001, R = 01010010, S = 01010011, T = 01010100, U = 01010101, V = 01010110
# W = 01010111, X = 01011000, Y = 01011001, Z = 01011010, [ = 01011011, \ = 01011100, ] = 01011101
# ^ = 01011110, _ = 01011111, ` = 01100000, a = 01100001, b = 01100010, c = 01100011, d = 01100100
# e = 01100101, f = 01100110, g = 01100111, h = 01101000, i = 01101001, j = 01101010, k = 01101011
# l = 01101100, m = 01101101, n = 01101110, o = 01101111, p = 01110000, q = 01110001, r = 01110010
# s = 01110011, t = 01110100, u = 01110101, v = 01110110, w = 01110111, x = 01111000, y = 01111001
# z = 01111010, { = 01111011, | = 01111100, } = 01111101, ~ = 01111110