• !s calls str() on the result
  • !r calls repr() on the result
  • !a calls ascii() on the result
>>> f"He said his name is {name!r}."
"He said his name is 'Fred'."