Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #1K
~71.3K People Reached
Favorite Forums
Favorite Tags

13 Posted Topics

Member Avatar for echellwig

[code] mainlist = [] for i in range(10): a = 'name_' b = str(i) c = a+b c = [i] mainlist.append((a+b)+'_st00f') print(mainlist) [/code] That?

Member Avatar for TrustyTony
0
48K
Member Avatar for aframe
Member Avatar for j23

Just a try: [CODE]def dec(): x = float(input('enter number: ')) while x % 1 == 0: print ("the number entered must be a decimal number") x = float(input("Enter a decimal number:")) dec() [/CODE]

Member Avatar for ultimatebuster
0
2K
Member Avatar for MJFiggs

Try something simple: [code] import math print (math.sqrt(4)) [/code] If that works then is it possible you do not have the module cTurtle on your home computer? Not all modules come with python and thus must be downloaded separately. If that doesn't work then check to make sure whatever editor …

Member Avatar for ultimatebuster
0
165
Member Avatar for peppermints
Member Avatar for TrustyTony
0
615
Member Avatar for the_mia_team

This is how I did it, if it helps at all. [code] class car: def __init__(self, model, make, speed): self.model = model self.make = make self.speed = speed def speedup(self, x): self.speed = self.speed + (5*x) def brake(self, x): self.speed = self.speed - (5*x) def carinfo(self): print ("Info..") print ("model: …

Member Avatar for Mensa180
0
4K
Member Avatar for Mensa180

Hello all! I was bored and upon my father's challenge I made a program that tells you the 20 day SMA for a specific date, I only have 100 days of data but can up that to over 8000 whenever I get my logic sorted out. The problem is I …

Member Avatar for Mensa180
0
169
Member Avatar for charlottetemp

Hello, can you point me to zelle graphics module so I can try and trouble shoot this? edit: found the module.

Member Avatar for charlottetemp
0
124
Member Avatar for gangster88

charlottetemp, can you post the code? Not sure if it needs to be a in a new thread to avoid hijacking this one... edit: the almighty vegaseat beat me by seconds!

Member Avatar for charlottetemp
0
1K
Member Avatar for AutoPython

Don't want to hijack this but I'm interested in compiling a tkinter gui app with py2exe -- the catch -- I'm using python 3.1.1 or whatever the latest version is. I only see py2exe up until 2.6/7? I used cxfreeze, and it gave me a .exe file... however when I …

Member Avatar for sheeps
0
15K
Member Avatar for Mensa180

Hi all, I can convert my .py or .pyw files into EXE no problem. The thing is they only display a console for about a tenth of a second if they have a GUI made with tkinter. If it is a console only program then the exe works fine. Any …

Member Avatar for Stefano Mtangoo
0
126
Member Avatar for Mensa180

Hello! I've been messing with tkinter and now have tried to make a MPG calculator using sliders. My problem is that no matter how I move the sliders it does not update the mpg, I'm not sure what to tell the label to do for it to update. I know …

Member Avatar for Mensa180
0
117
Member Avatar for Mensa180

Hello, I'm very new to python but made this as a sort of exercise. It is a loan calculator that takes into account user input. [code=Python] r = input('What is your interest rate? ') t = input('How many payments will you make? ') la = input('What was the amount of …

Member Avatar for Mensa180
1
340

The End.