Raw string :
-----------------
" r " called as raw string
Used to print escape sequences or to print normal text under the quotes.
Use r after open bracket and before quote in print fuunction.
Print emoji :
-----------------
1) Go to the website https://unicode.org/emoji/
2) Copy the any code from Code column and paste it into interpreter / shell. ( In the print function )
3) After pasting the code , edit it as follows
- Remove + sign from it
- Replace it with 000 triple zero
- Type back slash \ before the code.
Eg. We copy and paste the second number code U+1F603 and edit it as follows
\U0001F603
and run file in terminal.
-----------------
" r " called as raw string
Used to print escape sequences or to print normal text under the quotes.
Use r after open bracket and before quote in print fuunction.
Print emoji :
-----------------
1) Go to the website https://unicode.org/emoji/
2) Copy the any code from Code column and paste it into interpreter / shell. ( In the print function )
3) After pasting the code , edit it as follows
- Remove + sign from it
- Replace it with 000 triple zero
- Type back slash \ before the code.
Eg. We copy and paste the second number code U+1F603 and edit it as follows
\U0001F603
and run file in terminal.