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

  • 实验3

    task1 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.ran
    yfxyyczs   2022-04-26 16:41   1   10
  • 实验3 控制语句与组合数据类型应用编程

    实验1 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
    Embeddd   2022-04-26 15:29   3   10
  • 实验三

    #task1.py import random print('用列表存储随机整数: ') ls = [random.randint(1, 100) for i in range(5)] print(ls) print('\n用集合存储随机整数: ') s1 = {random.randint(1,1
    bamboosama   2022-04-26 14:18   2   9
  • 实验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 i
    其米卓嘎   2022-04-26 12:18   3   12
  • 实验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 10:49   0   8
  • 实验3

    #task1.py import random print('用列表存储随机整数: ') ls = [random.randint(1, 100) for i in range(5)] print(ls) print('\n用集合存储随机整数: ') s1 = {random.randint(1,1
    思杰   2022-04-25 23:50   4   12
  • 实验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
    张满月的衣橱   2022-04-25 23:34   1   9
  • 实验3

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

    实验任务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.ra
    张玮珊   2022-04-25 22:45   1   7
  • 实验三

    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-25 22:18   3   9