标签:input class dom while tmp random inpu break div
1a = [43,34,none,"break",12] print(a[0]+a[2]) 2import random a= ["print","input", "while", "if", "else", "break","continue"] while True: index = random. randint(0,6) print(a[index]) 3a = ["print", "input","while", "if", "else", "break","continue"] tmp = a[1] a[1] = a[5] a[5] = tmp print(a) 4超过了列表长度
标签:input class dom while tmp random inpu break div
原文地址:https://www.cnblogs.com/liuliugeren/p/12221840.html