Skip to content
This repository was archived by the owner on Apr 24, 2020. It is now read-only.

Conversation

jez-w
Copy link
Contributor

@jez-w jez-w commented Sep 24, 2019

Made it simpler, faster, more pythonic and use techniques explained in the chapter text.

There is no need to check isalpha() as isupper() only works for letters

faster, more pythonic and use techniques explained in the text
@jstac
Copy link
Contributor

jstac commented Sep 24, 2019

Thanks @jez-w !

I think it might be best to keep the original version and then show your new version. (The original might be easier for beginners to understand.) Would you mind to change the PR in that way? You can follow the original with "Here's another version that's more Pythonic" and then put in your one.

understand.

The short solution has been left as an alternative.
@jstac
Copy link
Contributor

jstac commented Sep 24, 2019

Perfect, thanks.

@jstac jstac merged commit d2d0dea into QuantEcon:master Sep 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants