Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
Member Avatar for longlongsilver

i have my code and i want to cycle through the following colors blue green orange red yellow. i got blue but i dont know how to the rest [CODE]from Tkinter import * myfont = ("Arial", 1, "bold") window = Tk() window.title("grid") window.geometry("500x420") frame = Frame(window) frame.grid() button0 = Button(frame, …

Member Avatar for richieking
0
305
Member Avatar for longlongsilver

i need the code to ask the play for a guess with a call to ask_number() here is my code i have a problem in that it won't run can somebody offer me some help? thanks [CODE]import random secretNum = random.randrange(100)+1 tries = 0 while tries < 5: try: def …

Member Avatar for TrustyTony
0
211
Member Avatar for longlongsilver

I have to use the function [I]ask_number()[/I] so that is ask the player for a guess with a call to [I]ask_number()[/I] here is my code but it automatically guess the number and i dont know if i did it right [CODE]import random print "\tWelcome to guess my number!" print "nI'm …

Member Avatar for longlongsilver
0
916
Member Avatar for longlongsilver

python code to create a Class called Car for automobile objects. The class constructor a color attribute. Be sure to include a constructor with the color parameter. The constructor should include a message that a Car of the appropriate color has been created. here is my code: [CODE]class Car(object): """A …

Member Avatar for Gribouillis
0
88
Member Avatar for longlongsilver

i have to use the move method for the ship to move. the distance value is less than or equal to the objects fuel attribute.messgae should be displayed reporting the distance the ship moved and the objects fuel attribute should be reduced by the distance value. if not not enough …

Member Avatar for TrustyTony
0
151