Timeline for Sylvester's sequence
Current License: CC BY-SA 3.0
20 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 2, 2016 at 0:30 | history | edited | Wheat Wizard♦ | CC BY-SA 3.0 | No longer shortest |
| Aug 29, 2016 at 11:22 | history | edited | AvahW | CC BY-SA 3.0 | deleted 2 characters in body |
| Aug 29, 2016 at 11:18 | comment | added | Wheat Wizard♦ | Let us continue this discussion in chat. | |
| Aug 29, 2016 at 8:08 | comment | added | AvahW | @WheatWizard, sorry, I had misunderstood what you meant the first time as I had forgotten that you could multiply strings and lists by integers. | |
| Aug 29, 2016 at 8:07 | history | edited | AvahW | CC BY-SA 3.0 | added 768 characters in body |
| Aug 28, 2016 at 23:10 | comment | added | Wheat Wizard♦ | It might make more intuitive sense as "a"*int(input()) which works equally well. | |
| Aug 28, 2016 at 23:04 | comment | added | Wheat Wizard♦ | Since you iterate using _ it doesn't matter what is in the array only the length. You should try my suggestion. It seems to work on my end. | |
| Aug 28, 2016 at 21:14 | comment | added | AvahW | @WheatWizard I don't think that would work, because python needs the range function too iterate through an integer | |
| Aug 28, 2016 at 21:13 | history | edited | AvahW | CC BY-SA 3.0 | added 141 characters in body; deleted 2 characters in body |
| Aug 28, 2016 at 15:13 | comment | added | Wheat Wizard♦ | You can change range(int(input())) to [l]*int(input) and drop the space after in. | |
| Aug 28, 2016 at 15:08 | comment | added | Wheat Wizard♦ | The space is still there... | |
| Aug 28, 2016 at 14:58 | history | edited | AvahW | CC BY-SA 3.0 | added 82 characters in body |
| Aug 28, 2016 at 14:55 | comment | added | Wheat Wizard♦ | You seem to have forgotten to make changes on line 5. | |
| Aug 28, 2016 at 14:50 | comment | added | Wheat Wizard♦ | You could also move the int(input()) into the range() and print l[-1] instead of l[a] | |
| Aug 28, 2016 at 14:50 | history | edited | AvahW | CC BY-SA 3.0 | added 143 characters in body; edited body |
| Aug 28, 2016 at 14:47 | comment | added | Wheat Wizard♦ | plus no can be renamed to n | |
| Aug 28, 2016 at 14:47 | comment | added | Wheat Wizard♦ | You can lose the space between the : and the no*=i. | |
| Aug 28, 2016 at 11:53 | history | edited | Adnan | CC BY-SA 3.0 | added 5 characters in body |
| Aug 28, 2016 at 11:41 | review | Low quality posts | |||
| Aug 28, 2016 at 11:53 | |||||
| Aug 28, 2016 at 11:13 | history | answered | AvahW | CC BY-SA 3.0 |