计算机程序设计(Python)-21级 (南京信息工程大学)

  • 实验三

    import random print('用列表存储随机整数: ') ls = [random.randint(1, 100) for i in range(5)] print(ls) print('\n用集合存储随机整数: ') s1 = {random.randint(1, 100) for i
    SHADOW&KING   2022-04-25 08:46   2   13
  • 实验三

    import random print('用列表存储随机整数:') ls=[random.randint(1,100) for i in range(5)] print(ls) print('\n用集合存储随机整数:') s1={random.randint(1,100) for i in rang
    wfffww   2022-04-25 08:40   3   12
  • 实验3

    实验3 task3_1 import random print('用列表存储随机整数:') ls=[random.randint(1,100) for i in range(5)] print(ls) print('\n用集合存储随机整数:') s1={random.randint(1,100) f
    周易潇   2022-04-24 23:30   1   5
  • 实验三

    1 1 mport random 2 print('用列表存储随机整数:') 3 ls=[random.randint(1, 100) for i in range(5)] 4 print(ls) 5 print('\n用集合存储随机整数:') 6 s1={random.randint(1,100)
    爱冒险的小洋   2022-04-24 23:25   1   7
  • 实验三

    1 import random 2 3 print('用列表存储随机整数:') 4 ls = [random.randint(1,100) for i in range(5)] 5 print(ls) 6 7 print('\n用集合存储随机整数:') 8 s1 = {random.randint(
    单纬哲   2022-04-24 23:14   2   15
  • 实验三

    task1 import random print('用列表存储随机整数: ') ls = [random.randint(1, 100) for i in range(5)] print(ls) print('\n用集合存储随机整数: ') s1 = {random.randint(1,100)
    沉迷学习ing   2022-04-24 22:16   3   12
  • 实验3 控制语句与组合数据类型应用编程

    1.实验任务1 import random print('用列表存储随机整数: ') ls = [random.randint(1, 100) for i in range(5)] print(ls) print('\n用集合存储随机整数: ') s1 = {random.randint(1,100
    失聪的小毛   2022-04-24 22:11   1   5
  • 实验3

    恢复内容开始 实验任务1: import random print('用列表存储随机整数: ') ls = [random.randint(1, 100) for i in range(5)] print(ls) print('\n用集合存储随机整数: ') s1 ={random.randint(
    刘封云   2022-04-24 16:41   3   12
  • 实验3 控制语句与组合数据类型应用编程

    1,实验任务1 1 import random 2 3 print('用列表存储随机整数:') 4 ls=[random.randint(1,100) for i in range(5)] 5 print(ls) 6 7 print('\n用集合存储随机整数:') 8 s1={random.rand
    炸呼   2022-04-24 14:47   2   8
  • 实验三 控制语句与组合数据类型应用编程

    import random print('用列表存储随机整数: ') ls = [random.randint(1, 100) for i in range(5)] print(ls) print('\n用集合存储随机整数: ') s1 = {random.randint(1,100) for i
    稀音络合物   2022-04-24 13:58   2   8