通过字符串的f操作:
aa = 5 print(f"{aa}") bb = [1,2,3] print(f'{bb}')
关于f操作的更多信息,请见https://blog.csdn.net/yizhuanlu9607/article/details/89530982