-
Notifications
You must be signed in to change notification settings - Fork 131
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
Conversation
@@ -23,6 +24,7 @@ theory: | | |||
template = "{}, {}!" | |||
|
|||
print(template.format(greeting, first_name)) | |||
# => 'Hello, Joffrey!' |
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.
Кавычки не печатаются
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.
Ну, это ведь не консольный вывод.
Поэтому решили так обозначать сроку - 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
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.
Тогде тем более неверно. Потому что print возвращает None
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.
И по твоей же ссылке написано, что "Стрелка добавляется там, где результат выводится на экран."
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.
Если это не консольный вывод, то где консольный вывод? Принт же печатает что-то?
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.