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

Challenge 1 in Python #142

Merged
merged 2 commits into from
Jan 4, 2017
Merged

Challenge 1 in Python #142

merged 2 commits into from
Jan 4, 2017

Conversation

slansford
Copy link
Contributor

No description provided.

@gluntn
Copy link
Contributor

gluntn commented Jan 3, 2017

You can do the input function inside the print function, that way you'll have one single line.

@MJUIUC
Copy link
Contributor

MJUIUC commented Jan 3, 2017

Yea this looks pretty solid. I didn't know you could write inputs that way so I learned something!


#Asks user for input and reverses letters of word

rev_word = input('What word would you like reversed? ')[::-1]
Copy link
Contributor

Choose a reason for hiding this comment

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

Good use! Efficient! Its exactly what I wanted to see for this challenge.

@@ -0,0 +1 @@
Prints reversed string provided by user input. Uses Python 3.6
Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you for including the version!

@Remillardj
Copy link
Contributor

Remillardj commented Jan 4, 2017

  • Code review (+2 people)
  • Code documented (Not needed necessarily)
  • Correct path
  • Code tested
  • Check for conflicts
  • Merge PR

@Remillardj Remillardj merged commit fb1dab7 into YearOfProgramming:master Jan 4, 2017
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.

None yet

4 participants