ord built-in function
This commit is contained in:
parent
a98f3b67b4
commit
ef0cac8835
1 changed files with 2 additions and 0 deletions
2
ord.for.py
Normal file
2
ord.for.py
Normal file
|
@ -0,0 +1,2 @@
|
|||
for i in range(ord('A'), ord('Z') + 1):
|
||||
print(chr(i), end=' ')
|
Loading…
Reference in a new issue