list = 100
if list > 99:
print(list=list(range(100,500))
why wont this work? can you help fix this?
list = 100
is not a list
list = [98, 99, 100, 101]
is a list
if you want to make a list from 100 to 500
list = []
for x in range(100, 501):
list.append(str(x))
print("\n".join(list))
oh snap. thank you. im still learning!
don't use list
as variable name, it's build-in function...