This is what my code is at the moment and I was wondering if I can assign list values like this.(I'm making a quote generator.)
import random as random
quotes = []
authors = []
quotes[0] = "I have a new philosophy. I'm only going to dread one day at a time."
authors[0] = "Charles Schulz"
quotes[1] = "Reality is the leading cause of stress for those in touch with it."
...
authors[5577] = "Henry David Thoreau"
quotes[5578] = "Sometimes the cards we are dealt are not always fair. However you must keep smiling and moving on."
authors[5578] = "Tom Jackson"
x=random.randint(2,5577)
for y in range(0,5579,1):
print(quotes[y]+" "+author[y])```