I was following a tutorial and found this.
print(f"{self.name}: {card!r:<3} ", end="")
And I have no idea what the !r:<3
means. Google wouldn't give me relevant results because of all the symbols.
I was following a tutorial and found this.
print(f"{self.name}: {card!r:<3} ", end="")
And I have no idea what the !r:<3
means. Google wouldn't give me relevant results because of all the symbols.