-
Notifications
You must be signed in to change notification settings - Fork 51
ready_to_review #58
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
base: master
Are you sure you want to change the base?
ready_to_review #58
Conversation
EedSan
left a comment
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.
Три з чотирьох програм працюючі.
Завдання з другої контрольної роботи не закінчене
| @@ -0,0 +1,8 @@ | |||
| new_list = [1,2,4,5.1,5.5,6,7.7,67.6,453.6,4356.56,5645.6] | |||
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.
new_list = [1,2,4,5.1,5.5,6,7.7,67.6,453.6,4356.56,5645.6]
float_list = []
def get_floats_len(float_list, new_list):
for index in new_list:
if isinstance(index, float):
float_list.append(index)
print(len(float_list))
return len(float_list)
get_floats_len(float_list, new_list)
|
|
||
| for word in text_list: | ||
| if word[0].isupper(): | ||
| print(word) No newline at end of file |
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.
text = "hello my Name Is Nazar"
def get_all_upper_starts_words(text):
words_list = []
text_list = text.split()
for word in text_list:
if word[0].isupper():
words_list.append(word)
print(word)
return words_list
get_all_upper_starts_words(text)
| if index > 0: | ||
| counter = counter * index | ||
|
|
||
| print(counter) No newline at end of file |
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.
num_1 = float(input("1 number: "))
num_2 = float(input("2 number: "))
counter = 1
num_1_int = int(num_1)
num_2_int = int(num_2)
for number in range(num_1_int, num_2_int + 1):
if number > 0:
counter = counter * number
print(counter)
|
|
||
|
|
||
| main(date_list) | ||
|
|
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.
программа не закінчена
No description provided.