Im writing a program to solve the word jumble in the newspaper. Does anyone know where i can find a list of every (common) word in the english language to use for comparison? You would think this would be easy to find, but ive had no such luck on google. Thanks guys
mike
User Profile
Collapse
-
Looking for a list of English words
-
Tkinter question
I am using Tkinter to create simple shapes for a class. My question is, is there a way to overlay a grid on the canvas that i create to help with positioning?
thanks in advance -
sorry about the tags, thanks for your help. btw...how the hell are you guys so fast at all hours of the day??? -
infinite loop
i have an assignment where i need a bunch of random numbers up to 1000 so i figured id try to write a quick program. Ive been working on projects all day and an new to programming so bear with me if this is trivial. why is this an infinite loop?
Code:import random times = raw_input("how many numbers to generate: ") count = 0 while count <= times: number = random.randrange(999)+1
-
This is starting to drive me crazy. I dont see how this can be accomplished without using a while loop. We havent really covered functions in this class as of yet, so there must be another way...without getting fancy.
Thanks for all the suggestions thus far.Leave a comment:
-
Heres where it gets complicated. This is a "brain teaser" for a class i am taking. The trick here is that i cannot use a while loop and i must use the negative range as well as positive.Leave a comment:
-
Random Letters
Simple question here. Im trying to figureout how to write a program in such a way that when a word is entered, the output is each individual letter of that word in a random order. so if pizza is entered, the output would be
P
Z
A
I
Z
I have a general idea of how to output the letters, but not without them repeating. Id like to figure this out myself, but would appreciate being pointed in the right... -
Thanks for the help guys, i have defiantly learned a thing or two. Last question, im sure my simpleton questions are getting a little tedious. I see that i should use a loop within a loop, makes sense. However, some of the classes in this program are 2 credit hour, and some are 3.
# this is the 2 credit hour class, notice how its multiplied by 2
totalpoints = totalpoints + 3.0*2
# this is the 3 credit hour...Leave a comment:
-
I finished writing the program i was working on and was wondering if i could get some feedback on it. This was an assignment for a class, so some of the values were set by the professor, such as the number of classes, the lame greetings, etc. As far as i know, the program works, although im not sure how orthodox my coding is.
[CODE=python]
student=0
while student==0:
print "welcome to Mike's GPA calculator!"...Leave a comment:
-
How would i write code that would take me from the end of the code back to the beginning? I imagine this would have to be some kind of while loop, but i cant put my finger on how i would incorporate it into the existing code.
EDIT
nevermind, i jumped the gun asking for help, i think i figured it out.
thanksLeave a comment:
-
-
Python Program help with IF Else
Hey, im new to computer programming as well as python, so please be gentle. Im working on a program that will calculate grades. When a value other than A,B,C,D, or F is entered, i want the program to give an error message. This is what i have come up with:
[CODE=python]
print "welcome to the GPA calculator"
totalpoints=0.0
name=raw_input( "please enter the name of the student ")...
No activity results to display
Show More
Leave a comment: