-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It's addition files for Lesson 1 #598
base: master
Are you sure you want to change the base?
Conversation
|
||
print(check_1(lst)) | ||
print(check_2(lst)) | ||
print(check_3(lst)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Александр, а где здесь решение?
его нет
import random as rnd | ||
int_list = [rnd.randint(0, 1000) for p in range(0, 20)] | ||
print(int_list) | ||
print(sorted(int_list)[0]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
нарушение пеп по импортам
не описана, где какая сложность
dict_company = {'Yarl' : 3460, 'Quark' : 4000, 'Cityland' : 2690, 'Ion': 1000, 'Drink': 8000, 'Drank' : 34000, 'Cross' : 4500} | ||
values = sorted(dict_company.values())[-4 : -1] | ||
[dict_profit.update({el}) for el in dict_company.items() for val in values if el[1] == val] | ||
print(dict_profit) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
не описана где какая сложность
It's addition files for Lesson 1