PYTHON BEGINNERS - 09 : LIST
IN THIS TUTORIAL, YOU WILL LEARN ABOUT LIST:
friends = ["Kevin", "Karen", "Roman", 2, 7.6]
# 0 1 2 3 4
# -5 -4 -3 -2 -1
friends[3] = "Reigns"
print(friends[-5])
print(friends[0])
print(friends[2:4])
Comments
Post a Comment