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

  • 实验3 控制语句与组合数据类型应用编程

    #task1 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-26 23:24   3   20
  • 实验三

    task-1 1 import 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
    雷建彬   2022-04-26 21:50   3   11
  • 实验3

    1 import 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
    是个f个人   2022-04-26 21:36   0   4
  • 实验三

    import random print('用列表存储随机整数: ') ls = [random.randint(1, 100) for i in range(5)] print(ls) print('\n用集合存储随机整数: ') s1 = {random.randint(1,100) for i
    唔a   2022-04-26 21:21   4   11
  • 实验3 控制语句与组合数据类型应用编程

    task1 import random print('用列表存储随机整数: ') ls = [random.randint(1, 100) for i in range(5)] print(ls) print('\n用集合存储随机整数: ') s1 = {random.randint(1,100)
    一壶花茶   2022-04-26 21:05   1   11
  • 实验三

    实验任务1: import random print('\n用集合存储随机整数:') ls=[random.randint(1,100) for i in range(5)] print(ls) print('\n用集合存储随机整数:') s1={random.randint(1,100) for
    天天三顿   2022-04-26 20:28   2   9
  • 实验三黄海祥

    1 import random 2 print('用列表存储随机整数: ') 3 ls = [random.randint(1, 100) for i in range(5)] 4 print(ls) 5 print('\n用集合存储随机整数: ') 6 7 s1 = {random.randint
    黄海祥   2022-04-26 19:09   1   11
  • 实验三

    task1.py 1 import random 2 print('用列表存储随机整数: ') 3 ls = [random.randint(1, 100) for i in range(5)] 4 print(ls) 5 print('\n用集合存储随机整数: ') 6 s1 = {random.
    MeiKoY   2022-04-26 18:31   2   8
  • 实验3 控制语句与组合数据类型综合应用编程

    1 import random 2 print('用列表存储随机整数: ') 3 ls = [random.randint(1, 100) for i in range(5)] 4 print(ls) 5 print('\n用集合存储随机整数: ') 6 7 s1 = {random.randint
    Kyle-K   2022-04-26 18:29   1   6
  • 实验3

    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-26 17:40   4   17