摘要: """这是第四章的案例题"""magicians = ["alice","david","carolina","eric","alex"] #创建一个列表mes = "see you happy." #赋值一个字符串给变量for magician in magicians:#一个for循环 ,":" 阅读全文
posted @ 2020-06-18 10:15 网工学搬砖 阅读(142) 评论(0) 推荐(0) 编辑
摘要: """3-4练习"""guestname = ["alex","crystal","eric","toto","bingo"]message = " i want Dinner together for you"print(guestname)print("hi" + " " + guestname 阅读全文
posted @ 2020-06-16 16:58 网工学搬砖 阅读(173) 评论(0) 推荐(0) 编辑
摘要: name = ["alex","crya","toto","hanlun"]message = "i ilke you , we are fimey "print(name)print(name[1])print(name[2])print(name[-1])'''展示裂变内的值'''print(n 阅读全文
posted @ 2020-06-16 11:01 网工学搬砖 阅读(113) 评论(0) 推荐(0) 编辑