Skip to content

Add a brief description of the print statement#101

Closed
hjwp wants to merge 1 commit into
DjangoGirls:masterfrom
hjwp:patch-2
Closed

Add a brief description of the print statement#101
hjwp wants to merge 1 commit into
DjangoGirls:masterfrom
hjwp:patch-2

Conversation

@hjwp
Copy link
Copy Markdown
Contributor

@hjwp hjwp commented Aug 5, 2014

We start using print later on, but it hasn't been explained. This shows why you might want to use it instead of just letting the interpreter give you the repr of a variable.

Could go into more details on, eg, backslash-escaping of quotes, or print ('more\nthan\none\nline')...

We start using print later on, but it hasn't been explained.  This shows why you might want to use it instead of just letting the interpreter give you the repr of a variable.

Could go into more details on, eg, backslash-escaping of quotes, or print ('more\nthan\none\nline')...
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I would prefer using name = 'Ola' rather than the traditional hello world.

I've found that it makes the participants subsitute their own name instead and they're more engaged as a result.

@bmispelon
Copy link
Copy Markdown
Contributor

Merged in f89a5f7.

I changed message to name like I explained in my comment and edited the commit message slightly.
Hope that's OK.

Thanks again!

@bmispelon bmispelon closed this Aug 8, 2014
@hjwp hjwp deleted the patch-2 branch August 8, 2014 19:17
@hjwp
Copy link
Copy Markdown
Contributor Author

hjwp commented Aug 8, 2014

:)

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