我得到了python 3.6中新的f字符串的作用,但是如下面的代码片段所示,结尾!r呢?
def __repr__(self): return (f'Pizza({self.radius!r}, 'f'{self.ingredients!r})')
python python-3.6
python ×1
python-3.6 ×1