📜  在python代码示例中打印从a到z的所有字母

📅  最后修改于: 2022-03-11 14:46:43.231000             🧑  作者: Mango

代码示例1
alphabet = [];
# ord represent the character unicode code, A to 65
# chr convert 65 to A
#variable alphabet get all value
for i in range(ord('A'), ord('Z') + 1):
   alphabet.append(chr(i))
print(alphabet)
#ganesh