Search Results

Showing results 1 to 8 of 8
Search took 0.00 seconds.
Search: Posts Made By: Mazille ; Forum: Python and child forums
Forum: Python Jul 27th, 2008
Replies: 6
Views: 2,126
Posted By Mazille
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
Posted By Mazille
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
Posted By Mazille
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
Posted By Mazille
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
Posted By Mazille
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
Posted By Mazille
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
Posted By Mazille
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
Posted By Mazille
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...
Showing results 1 to 8 of 8

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC