Skip to content
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

lesson 2 #1264

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

lesson 2 #1264

wants to merge 15 commits into from

Conversation

NikosPodin
Copy link

No description provided.

print(f"Итого: {num_1} {operand} {num_2} = {total}")
return calc()

calc()
Copy link
Owner

Choose a reason for hiding this comment

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

выполнено

except ValueError:
print('Вы ввели НЕ_число, просьба ввести именно число:')
number = int(input('Введите набор цифр: '))
print(f'Количество чисел в вашем числе {number} по пропорции (четные, нечетные): {count_func(number)}')
Copy link
Owner

Choose a reason for hiding this comment

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

проверьте стиль кода

except ValueError:
print('Вы ввели буквы, а нужно ввести цифры')
user_numb = int(input('Введите число: '))
print(f'В обратном порядке число получаются: {rev(user_numb)}')
Copy link
Owner

Choose a reason for hiding this comment

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

отрабатывает неверно
Введите число: 1230
В обратном порядке число получаются: 321
плюс ошибки стиля

return int_char(num + 1, count + 1, count_end + f" {num} - {chr(num)}")


print(int_char(33, 1, ""))
Copy link
Owner

Choose a reason for hiding this comment

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

выполнено


riddle_numb= randint(1,10)

riddle(riddle_numb)
Copy link
Owner

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