import json def main(): #part 1 num = 10; # 数字について str = “ABC”; # 文字列 list = [1, 2, 3, 4, 5]; #リスト, 括弧 tuple = (‘physics’, ‘chemistry’, 1997, 2000); # 元素,小括弧,内容は変更できない! dict = {‘name’: “tom”, ‘age: 14}; #辞書
LogStatus("状态栏显示文本!\n 第二行文本 \n", num, str, list, tuple, dict); # 在状态栏里面把以上变量当做参数传入。