标签:排序 多行注释 基本操作 ide isp NPU col input splay
列表
1 n=int(input()) 2 l=[] 3 for i in range(n): 4 l.append(int(input())) 5 print("原列表:",l) 6 l.sort() 7 print("排序后:",l) 8 l.reverse() 9 print("反转后",l) 10 11 12 3 13 1 14 4 15 2 16 原列表: [1, 4, 2] 17 排序后: [1, 2, 4] 18 反转后 [4, 2, 1]
快捷键:
Ctrl+/ 多行注释
Tab 多行向后
Shift+Tab 多行向前
标签:排序 多行注释 基本操作 ide isp NPU col input splay
原文地址:https://www.cnblogs.com/liiiiiiiiiiinnnnnnnn/p/11900742.html