right-to-left

Write a program to print multiplication table pattern in given image

Write a program to print multiplication table pattern in given image Question: For more info please open the picture i tried to print the multiplication table but i was expecting to print the table according to given question image.enter image description here Asked By: Anand || Source Answers: One line version print(‘n’.join(‘ ‘.join(str(i*n) for n …

Total answers: 1

Right-to-Left and Left-to-Right printed nicely

Right-to-Left and Left-to-Right printed nicely Question: I want it to produce the number next to a word so that I can ask the user to select the word by using the corresponding number. This is my code alt_words = hlst loopnum = 8 for i in range(loopnum): if i < len(alt_words): print(‘{0}. {1:<20}’.format((i+1), alt_words[i]), end …

Total answers: 3

Kivy Text Input for Arabic Text

Kivy Text Input for Arabic Text Question: I’m trying to use Kivy’s text input for Arabic text. I have an Arabic font set up with my text input but when I type into the input (in Arabic) I just get Arabic letters appearing from left to right (and they’re not connected as Arabic letters should …

Total answers: 2

Matplotlib: Writing right-to-left text (Hebrew, Arabic, etc.)

Matplotlib: Writing right-to-left text (Hebrew, Arabic, etc.) Question: I’m trying to add some text to my plot which is RTL (in this case, Hebrew). After some work managed to get it to display the text, but it’s displayed LTR (meaning, in the reverese order). I’ve dug into the reference and did extensive search online and …

Total answers: 6