If you want to use repr in f-string use "!r" # Normal behavior (using str) >>> color = "blue\ngreen" >>> day = datetime.date(2020, 6, 4) >>> f"Color is ...
確定! 回上一頁