I have the following print statement for printing out a Node's data:
print(f" {self.data:<9}{self.frequency:<10}{self.huff_code:<13}{self.huff_len:<9}{self.bit_cost}")
This works perfectly for English and Cyrillic characters.:
A 0.073 1011 4 0.292
However, when trying to print Arabic characters, the string order is reversed:
ء 0.0031 00000011 8 0.025
I'm curious if there is a way to force Python to always print my string left-to-right, regardless of what characters are being printed.