« first day (703 days earlier)      last day (1485 days later) » 

1:34 AM
5 messages moved from Teenage Programmers Chatroom
 
2:05 AM
0
Q: Optimizing Python code with nested loops

abscissaI have written Python code that generates a plot. In the code below, when I set maxtime = 1, the program takes ~50s and when I set maxtime = 10, it takes ~420s. I need to run it for maxtime = 1000. I am familiar with Python syntax and writing "Matlabic" code, but am lost in writing natively "Py...

 
 
2 hours later…
3:38 AM
-1
Q: Need help making a simple text adventure with Python

McHaddishI am attempting to make a super simple text adventure game but have come into a few problems, I am VERY new to this so please speak stupid xD. anywho here is what I have done: import time def goLeft(): print ("You slowly edge your way left, going into the dark unknown...") def goRight():...

 
 
11 hours later…
2:47 PM
0
Q: Why is Python 3.4 still developed after the realease of 3.5?

rgargenteThe lastest version of Python is 3.5.1. However, the latest release is 3.4.4. Why is 3.4.x still developed? Can migrating from 3.4 to 3.5 be a painful process? Are we starting to see another fork of the language as with 2.x and 3.x? https://www.python.org/downloads/

 
 
8 hours later…
10:34 PM
0
Q: List comprehension for reading lists of integers

amigoAs of reading the following input.txt file: 1 6 14 1 2 7 1 3 9 2 3 10 2 4 15 3 6 2 3 4 11 4 5 6 5 6 9 I wanted to make a list of lists containing each line as a list of integers [[1, 6, 14], [1, 2, 7], [1, 3, 9], ... [5, 6, 9]] I achieved that by doing the following with open('input.t...

 
10:50 PM
0
Q: How to make C easier to read in Brackets?

user5661402I am new to C and took a Python class last semester. My question is how to make C easier to read in Brackets? It doesn't change text to as many colors as it did for Python. I've used Sublime Text 2 and it made the code much easier to read with more colors. I prefer Brackets to Sublime and was hop...

 

« first day (703 days earlier)      last day (1485 days later) »