str_v = "7" * 3# str_v is '777'# 任何字符串都能重复,不限于单个字符laugh = "ha" * 3# laugh is 'hahaha'# 次数为零或负数时得到空字符串,不报错empty = "7" * -1# empty is ''print(f"{str_v = }")print(f"{laugh = }")print(f"{empty = }")