Nov-21-2020, 02:04 PM
Hi,
Your "or" should contain the variable each time, like so:
if chart == "Tak" or chart =="tak" or chart=="t":
You might also add a second quote to print("draw chart").
Then it will be fine,although there are other ways to do this, eg.
if chart.upper() in ['TAK','T']:
Paul
Your "or" should contain the variable each time, like so:
if chart == "Tak" or chart =="tak" or chart=="t":
You might also add a second quote to print("draw chart").
Then it will be fine,although there are other ways to do this, eg.
if chart.upper() in ['TAK','T']:
Paul