热门

最新

红包

立Flag

投票

同城

我的

发布
iprobobo
香饽々
4 年前
trueiprobobo

for i in range(10):
result = 1 if i%2 == 0 else 0
print(result)

如何将上述代码改为条件表达式?

CSDN App 扫码分享
分享
1
1
打赏
  • 复制链接
  • 举报
下一条:
👁️‍「Go仓库分享时间」‍👉 仓库名: portaudio 👇 仓库描述: Go bindings for the PortAudio audio I/O library⭐️star数:493 ✨️Fork数:76 #go 👉 仓库地址: https://github.com/gordonklaus/portaudio
立即登录