Skip to content

Create Lesson 1HW.py#137

Open
temaxtems wants to merge 1 commit intoKartavec:masterfrom
temaxtems:Lesson1-Bobrov
Open

Create Lesson 1HW.py#137
temaxtems wants to merge 1 commit intoKartavec:masterfrom
temaxtems:Lesson1-Bobrov

Conversation

@temaxtems
Copy link
Copy Markdown

No description provided.

Comment thread Lesson 1HW.py
print("Числа:", int_test1, int_test2)
print("Строки:", str_test3, str_test4)


Copy link
Copy Markdown

Choose a reason for hiding this comment

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

здесь нужны ф-строки

Comment thread Lesson 1HW.py
nnn = int(n+n+n)
n=int(n)
result = (n+nn+nnn)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

  1. много ошибок стиля, ненужные скобки
  2. нужно
    n = input("Введите число: ")
    print(f'Результат: {int(n) + int(n2) + int(n3)} ')

Comment thread Lesson 1HW.py
continue
else:
print(f'Максимальное число: {max}')
break
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

max
встр имя

Comment thread Lesson 1HW.py
elif pos < neg:
print('Вы работаете в убыток')
elif pos == neg:
print('Вы рарботаете в 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.

выполнено

Comment thread Lesson 1HW.py
while a < b:
a += a*0.1
day += 1
print(f'На {day}-й день спортсмен достиг результата — не менее {b} км') 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