Storing names of students in a list in Python

Поделиться
HTML-код
  • Опубликовано: 24 сен 2024
  • #data #storing #datastorage #list in #python # programming
    #students #names #coding
    code given below
    Students = []
    for i in range(10):
    student = input("Name of student"+" "+str(i+1))
    Students.append(student)
    print(Students)

Комментарии • 1