شرح list in python 2022-09-28 # lists #0 1 2 x = [99,55,33] print(x) 7 x = [99,55,33] print(x[2]) # lists x = [] x.append(45) x.append(50) print(x) # input in list x = [] x.append(input("enter a value :")) x.append(input("enter a value :")) x.append(input("enter a value :")) x.append(input("enter a value :")) x.append(input("enter a value :")) x.append(input("enter a value :")) print(x[3]) Twitter WhatsApp Telegram Facebook