I am very new to Python, and I am having trouble making a factorial program.
num = int(input("Enter a positive integer: "))
for i in range(num-(num-1), num+1):
print(num*(i[1]))
Why can't I multiply by the first part of a range sequence? I would also like to know how to make it so that it automatically multiplies by the next part of i, (i[2]), automatically without having to manually write it down.