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

refactor module 5 (variables) #84

Merged
merged 4 commits into from
Oct 14, 2020
Merged

refactor module 5 (variables) #84

merged 4 commits into from
Oct 14, 2020

Conversation

zhabinka
Copy link
Contributor

No description provided.

@@ -23,6 +24,7 @@ theory: |
template = "{}, {}!"

print(template.format(greeting, first_name))
# => 'Hello, Joffrey!'
Copy link
Contributor

Choose a reason for hiding this comment

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

Кавычки не печатаются

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ну, это ведь не консольный вывод.
Поэтому решили так обозначать сроку - https://github.com/Hexlet/documentation-style-guide/blob/master/CODE.md#%D1%82%D0%B8%D0%BF%D1%8B-%D0%B4%D0%B0%D0%BD%D0%BD%D1%8B%D1%85

Copy link
Contributor

Choose a reason for hiding this comment

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

Тогде тем более неверно. Потому что print возвращает None

Copy link
Contributor

Choose a reason for hiding this comment

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

И по твоей же ссылке написано, что "Стрелка добавляется там, где результат выводится на экран."

Copy link
Contributor

Choose a reason for hiding this comment

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

Если это не консольный вывод, то где консольный вывод? Принт же печатает что-то?

Copy link
Contributor

Choose a reason for hiding this comment

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

Ну вот, вмержили этот "недовывод" :(

@mokevnin mokevnin merged commit d5b66fb into hexlet-basics:master Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants