Skip to content

Выполнение второго задания - #2

Open
silverAndr wants to merge 1 commit into
mainfrom
lesson2
Open

Выполнение второго задания#2
silverAndr wants to merge 1 commit into
mainfrom
lesson2

Conversation

@silverAndr

Copy link
Copy Markdown
Owner

No description provided.

Comment threadtask4.py
long_string = input('Введите сроку: ')
list_words = long_string.split()
for ind, word in enumerate(list_words, 1):
print(ind, word[:9])

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Почему 9) последний не включается же

Copy link
Copy Markdown
OwnerAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Поспешил, запустил код с :10, и показалось не правильно вывелось. Вообщем недо-тест.

Comment threadtask6.py
@@ -0,0 +1,28 @@
# Реализовать структуру данных «Товары».
products = []
product_params = {'name': 'Название', 'price': 'цена', 'count': 'Количество', 'ed': 'ед'}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Хорошая идея сделать отдельно названия для вывода

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@silverAndr@evg-evtushenko@serebryakovAO