Anonymous user
Terminal control/Display an extended character: Difference between revisions
Terminal control/Display an extended character (view source)
Revision as of 00:49, 27 May 2020
, 4 years ago→{{header|Python}}: Add alternate method
(Added Wren) |
(→{{header|Python}}: Add alternate method) |
||
Line 364:
=={{header|Python}}==
Python 2:
<lang Python>print u'\u00a3'</lang>
<pre>£</pre>
Alternatively, as any Unicode character is legal in Python code:
<lang Python>£ = '£'
print(£)</lang>
<pre>£</pre>
|