1 Star 0 Fork 0

bs-1024/aiqiyi_web

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
test.py 570 Bytes
一键复制 编辑 原始数据 按行查看 历史
bs-1024 提交于 2019-09-13 14:32 . over
# t1 = ("a", "b", "c")
# s1 = "abc"
# l1 = ["a", "b", "c"]
# d1 = {"a": 1, "b": 2, "c": 3}
# n1 = 123456
#
# print(",".join(t1), type(",".join(t1)))
# print(",".join(s1), type(",".join(s1)))
# print(",".join(l1), type(",".join(l1)))
# print(",".join(d1), type(",".join(d1)))
# print(",".join(n1), type(",".join(n1)))
#
# if 1 and 2 and 3 in [1, 2, 3, 4]:
# print(456)
# d = {
# 1: "a",
# 2: "b",
# 3: "c"
# }
#
# for i in d:
# print(d[i])
# a = [1]
# if a:
# print(a)
a = "hello world"
print(a.split('').reverse().join(''))
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/bs-1024/aiqiyi_web.git
git@gitee.com:bs-1024/aiqiyi_web.git
bs-1024
aiqiyi_web
aiqiyi_web
master

搜索帮助