Timeline for Monopoly simulator
Current License: CC BY-SA 3.0
22 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 7, 2018 at 23:04 | history | protected | Jamal | ||
| Jun 4, 2016 at 11:41 | history | edited | Adam | CC BY-SA 3.0 |
StackExchange is not a forum
|
| Jun 3, 2016 at 15:17 | comment | added | SuperBiasedMan |
@Carcigenicate In Python 2 input does indeed allow you to input ints directly, but it's recommended that you use raw_input instead and then explicitly convert to an int.
|
|
| Jun 3, 2016 at 12:02 | comment | added | ohjuny | @Carcigenicate Yes you're right, I don't know why it's working for me then. Maybe it's a Python 2 / Python 3 thing. | |
| Jun 2, 2016 at 17:16 | comment | added | Carcigenicate |
@ohjuny num came straight from input, so it's a string. And ya, I explicitly converted it, and it works.
|
|
| Jun 2, 2016 at 16:54 | comment | added | ohjuny | @Carcigenicate In that for loop, the "num" is not a string - it is a variable which holds an int. So there should be no error regardless of which Python you are running. Also, I think that Python 2 does allow coercion. If coercing an string to an int, you do int("string"). | |
| Jun 2, 2016 at 14:08 | comment | added | Carcigenicate |
Does Python 2 allow you do coerce a string to an int? Line 42 (for h in range) is giving me an error since it expects 2 ints, and it's getting an int and a string.
|
|
| Jun 1, 2016 at 16:33 | answer | added | cdkMoose | timeline score: 5 | |
| May 31, 2016 at 17:43 | comment | added | 200_success |
The quickie Git tutorial: (1) Edit your files. (2) git add file1.py file2.py (3) git commit (4) git push (5) GOTO 1. Then Git will track the modifications for you within each file, and you can visualize those changes when browsing GitHub. Unfortunately, a full Git tutorial is too large to fit in a comment, as there is enough material for a book.
|
|
| May 31, 2016 at 17:38 | comment | added | ohjuny | And @200_success , could you please explain the version control system on Github? I'm new to the whole programming scene so I don't fully know how Github works. I appreciate your help! | |
| May 31, 2016 at 17:30 | vote | accept | ohjuny | ||
| May 31, 2016 at 17:30 | vote | accept | ohjuny | ||
| May 31, 2016 at 17:30 | |||||
| May 31, 2016 at 17:30 | vote | accept | ohjuny | ||
| May 31, 2016 at 17:30 | |||||
| May 31, 2016 at 16:51 | comment | added | 200_success |
Note that committing a Monopoly Simulator v2.py defeats the purpose of the version control system, which is to track the history of your changes to each file.
|
|
| May 31, 2016 at 16:44 | history | edited | 200_success | CC BY-SA 3.0 |
deleted 33 characters in body; edited tags; edited title; edited tags
|
| May 31, 2016 at 15:39 | answer | added | Peilonrayz♦ | timeline score: 77 | |
| May 31, 2016 at 15:19 | history | tweeted | twitter.com/StackCodeReview/status/737664756358742016 | ||
| May 31, 2016 at 14:19 | answer | added | SuperBiasedMan | timeline score: 32 | |
| May 31, 2016 at 13:56 | history | edited | ohjuny | CC BY-SA 3.0 |
I added the * part, because I have just implemented the change mentioned in the code.
|
| May 31, 2016 at 13:38 | history | edited | ohjuny | CC BY-SA 3.0 |
I embedded the code into the post (rather than just having the github link)
|
| May 31, 2016 at 13:31 | review | First posts | |||
| May 31, 2016 at 14:14 | |||||
| May 31, 2016 at 13:27 | history | asked | ohjuny | CC BY-SA 3.0 |