I tried to make a quiz for this exercise. But I cannot multiply a part of a list with another part of the same list. Does anyone know how to solve this? Or work around it?
if choice == “1”:
print(“Very well. Let’s test your computational skills.\n Name a number from 1 to 10”)
memory = [int(input())]
print(“And another…”)
memory.append(int(input()))
print(“And another…”)
memory.append(int(input()))
print(“And another…”)
memory.append(int(input()))
print(“And another…”)
memory.append(int(input()))
print(“And another…”)
memory.append(int(input()))
for number in range (6):
memory[number] = memory[number] + 3
print("""Ok, great.
Now add 3 to every number you just named.
Add the first three and the last three together.
Now multiply these two summations.
How much did your machine brain make of this?""")
answer1 = int(input())