When messing around in python with the exclamation mark, it said that it has to be followed by either !a
, !s
, or !r
.
What does !a
do?
Like can you do this?
<code>f"{"txt"!a}"
</code>
<code>f"{"txt"!a}"
</code>
f"{"txt"!a}"
What will be the result?
<code>"TXT" # Obviously not this, but still
</code>
<code>"TXT" # Obviously not this, but still
</code>
"TXT" # Obviously not this, but still