Reputation: 185
print('\f')
outputs ♀ (female symbol) and print('\v')
outputs ♂ (male symbol). Since these symbols are
not part of the ASCII characters, why does python output them?
Bonus question: I get why '\f'
is the f
emale symbol, but why is '\v'
the male?
Upvotes: 0
Views: 852
Reputation: 478
\f
stands for Form Feed while \v
stands for Vertical Tabulator.
These are included because they are included with your font. There is also \t
, \r
and \n
.
Upvotes: 1