FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
binary-code/binary_example3.py at variable-name · nickfun/binary-code · GitHub
nickfun
/
binary-code
Public
forked from
CoderDojoGitHub/binary-code
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
binary-code
/
binary_example3.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
16 lines (14 loc) · 299 Bytes
Breadcrumbs
binary-code
/
binary_example3.py
Copy path
File metadata and controls
16 lines (14 loc) · 299 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
letter_a
=
"A"
letters
=
[]
print
"uppercase:"
for
i
in
range
(
26
):
idx
=
ord
(
letter_a
)
new_letter
=
chr
(
idx
+
i
)
letters
.
append
(
new_letter
)
print
new_letter
print
"
\n
lowercase:"
for
letter
in
letters
:
idx
=
ord
(
letter
)
shifted
=
idx
+
32
new_letter
=
chr
(
shifted
)
print
new_letter
Back
|
FazBrowse Home
|
New Git URL