Forum: Python Jul 27th, 2008 |
| Replies: 6 Views: 2,126 Yaayy!! It workss :D
Wow vegaseat.. that's just too simple an answer that it hurts... (the readline one)
Thank you soo much jlm699 and vegaseat!! I appreciate the help a lot!!
I officially... |
Forum: Python Jul 26th, 2008 |
| Replies: 6 Views: 2,126 When I said the prof wanted me to use the file, I meant the file that has all those words clumped together.. not about format of opening a file. I'm almost done this problem yay! It took me a while... |
Forum: Python Jul 24th, 2008 |
| Replies: 6 Views: 2,126 Problem #1: My professor wants us to use that file...
Problem #2: He also wants us to use that format of opening a file.. which is strange and I do agree to you but it's better for me to follow... |
Forum: Python Jul 23rd, 2008 |
| Replies: 6 Views: 2,126 I'm having trouble with creating a function that would generate a random word from a list of four-Letter words from a file called fiveLetterWords.txt. I know how to generate the list and print it but... |
Forum: Python Jul 16th, 2008 |
| Replies: 3 Views: 1,167 ohhh I forgot about that!!
I actually had copied and pasted that statement.
Thank you very much solsteel and jlm699! |
Forum: Python Jul 13th, 2008 |
| Replies: 3 Views: 1,167 I get an error when trying to make this program.
from pointLine import *
def calcSlope(x1,y1, x2,y2):
slope = (x2-x1)/(y2-y1)
return slope |
Forum: Python Jul 7th, 2008 |
| Replies: 4 Views: 973 Thank you bumsfeld and woooee!
I wasn't taught the "%-5d" part of the code you have provided but I came up with this in the end:
list2 = [23, 764, 12, 54, 83, 2, 543, 890, 1235, 453, 98]
... |
Forum: Python Jul 6th, 2008 |
| Replies: 4 Views: 973 Hi I'm a python beginner!
I'm trying to make a list of 3 numbers per line but I get an error. =(
Here's my code:
list2 = [23, 764, 12, 54, 83, 2, 543, 890, 1235, 453, 98]
k = 0
while... |