utils.emojis package¶
Module contents¶
-
utils.emojis.
write_with_number
(i: Union[int, float])[source]¶ Write number with emoji
- Basic usage
>>> write_with_number(23) '2⃣3⃣' >>> write_with_number(-23) '➖2⃣3⃣' >>> write_with_number(-23.34) '➖2⃣3⃣.3⃣4⃣' >>> write_with_number(-1234567890.098) '➖1⃣2⃣3⃣4⃣5⃣6⃣7⃣8⃣9⃣0⃣.0⃣9⃣8⃣'
- Parameters
i – number to write
- Returns
string with emojis