题解 | Python 3 if elif else用法
多样的选择
https://www.nowcoder.com/practice/49f5c4a1d66b41ec85002bb75881b411
num = int(input()) if num == 1: print("vscode") elif num == 0: print("pycharm") else: print("other choice")
多样的选择
https://www.nowcoder.com/practice/49f5c4a1d66b41ec85002bb75881b411
num = int(input()) if num == 1: print("vscode") elif num == 0: print("pycharm") else: print("other choice")
相关推荐