To tack onto perfingo's response, there are a few ways to fix this.
- Add another comparison.
franko = input("Please enter the text you want to translate") if franko == "A" or franko == "a": print("ا")
- Use a tuple to contain the possible inputs and compare using "in".
franko = input("Please enter the text you want to translate") if franko in ("A", "a"): print("ا")
- Or my personal favorite which involves a call to str.lower() and then comparison. This can be useful when the user types more than one character to control for capitalization errors.
franko = input("Please enter the text you want to translate").lower() if franko == "a": print("ا")