Skip to content

Урок №3 Easy, Normal#2

Open
ilyaTar7 wants to merge 1 commit into
masterfrom
lesson-03
Open

Урок №3 Easy, Normal#2
ilyaTar7 wants to merge 1 commit into
masterfrom
lesson-03

Conversation

@ilyaTar7

Copy link
Copy Markdown
Owner

К сложному даже не приступал.
Кроме того, и в выполненных заданиях половина - списанные. Но после списания в основном поняты.
До решения некоторых задач самостоятельно я так и не дошёл.
Будет ли смысл сделать перерыв после прохождения Уровня 1 и почитать Лутца,
или это уже повод задуматься о своей умственной несостоятельности? :)

else:
result = int(n) / power

return result

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

хорошо

print(lucky_ticket(436751))
print("Этот билет - счастливый?", lucky_ticket(142306))
print("Этот билет - счастливый?", lucky_ticket(223213))
print("Этот билет - счастливый?", lucky_ticket(666666))

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

все верно


print(fibonacci(4, 9))
print(fibonacci(4, 5))

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

и с фибо справились

print(sort_to_max([2, 10, -12, 2.5, 20, -11, 4, 4, 0]))

sort_to_max([2, 10, -12, 2.5, 20, -11, 4, 4, 0])

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

отлично, теперь сортируем без sort()

return list1
print(my_fi(1,[1,2,3,4,2,1,5,6,7,1,8,9,1,5]))

print ('Задание-4:')

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

хорошо

return result

print(parallelogram([1,1],[2,2],[3,3],[4,4])) # да
print(parallelogram([3,1],[3,2],[3,3],[9,4])) # нет No newline at end of file

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 free to 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.

2 participants