Timeline for Output the alphabet, the ALPHABET, or just a character
Current License: CC BY-SA 3.0
20 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 23, 2015 at 16:35 | history | edited | Daniel | CC BY-SA 3.0 |
deleted 21 characters in body
|
Dec 22, 2015 at 21:45 | history | edited | Daniel | CC BY-SA 3.0 |
edited body
|
Dec 22, 2015 at 21:35 | comment | added | Morgan Thrapp | Let us continue this discussion in chat. | |
Dec 22, 2015 at 21:31 | comment | added | Morgan Thrapp | No problem! I love golfing, so I'm always happy to help out someone new! | |
Dec 22, 2015 at 21:31 | comment | added | Daniel | @MorganThrapp, oh wow. That's pretty cool. Thanks! | |
Dec 22, 2015 at 21:29 | history | edited | Daniel | CC BY-SA 3.0 |
added 6 characters in body
|
Dec 22, 2015 at 21:28 | history | edited | Daniel | CC BY-SA 3.0 |
added 43 characters in body
|
Dec 22, 2015 at 21:28 | comment | added | Morgan Thrapp |
Sure, it uses the fact that False == 0 and True == 1 to index into tuples. So, it first checks if it's a letter with isalpha , if it is, it returns 1 and then checks if it's lowercase and does the same.
|
|
Dec 22, 2015 at 21:27 | comment | added | Daniel | @MorganThrapp, actually, could you please explain first exactly how that works? Maybe it's just that I don't understand so I'm doing something wrong. | |
Dec 22, 2015 at 21:24 | comment | added | Morgan Thrapp | It works in 2.7.8. What doesn't work? | |
Dec 22, 2015 at 21:23 | comment | added | Daniel | @MorganThrapp, that doesn't seem to work. Are you sure that it works in Python 2.7.10? | |
Dec 22, 2015 at 21:06 | history | edited | Daniel | CC BY-SA 3.0 |
deleted 2 characters in body
|
Dec 22, 2015 at 18:19 | history | edited | Daniel | CC BY-SA 3.0 |
added 6 characters in body
|
Dec 22, 2015 at 17:36 | history | edited | Daniel | CC BY-SA 3.0 |
deleted 5 characters in body
|
Dec 22, 2015 at 17:26 | history | edited | Daniel | CC BY-SA 3.0 |
deleted 180 characters in body
|
Dec 22, 2015 at 17:17 | history | edited | Daniel | CC BY-SA 3.0 |
deleted 178 characters in body
|
Dec 22, 2015 at 17:12 | history | edited | Daniel | CC BY-SA 3.0 |
deleted 178 characters in body
|
Dec 22, 2015 at 16:52 | history | edited | Daniel | CC BY-SA 3.0 |
added 191 characters in body
|
Dec 22, 2015 at 16:42 | history | edited | Daniel | CC BY-SA 3.0 |
added 22 characters in body
|
Dec 22, 2015 at 16:34 | history | answered | Daniel | CC BY-SA 3.0 |