nazva = []
while True:
lesson = input("Введіть назву уроку: ")
if lesson == "":
break
nazva.append(lesson)
for i in range(len(nazva)):
print("Урок", i+1, "-", nazva[i])
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
nazva = []
while True:
lesson = input("Введіть назву уроку: ")
if lesson == "":
break
nazva.append(lesson)
for i in range(len(nazva)):
print("Урок", i+1, "-", nazva[i])