jwenjian opened this issue 5 years ago · 0 comments
这里列出了20个常用的python代码段:
# Reversing a string using slicing my_string = "ABCDE" reversed_string = my_string[::-1] print(reversed_string) # Output # EDCBA