I am wanting to loop through 5 questions from another .py file.
The extra file is file.py and has 5 questions -q1 = "what is...", q2 etc..
This adds a number to each time I use q but does not catch the question from the external python document:
from file import*
i = 0
for x in range(5):
i = i+1
question1 = str(input("q" + str(i)))
q = ["what is...", "where is...", "who is..."]would allow you to useq[0], q[1], q[2].