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
Ranked #4K
~15.1K People Reached
Favorite Forums
Favorite Tags

4 Posted Topics

Member Avatar for Zebibyte

I tried out one of the "Projects for the Beginner" ideas: the [URL="http://www.daniweb.com/forums/post223885-54.html"]change calculator[/URL]. Basically, you tell it how much the purchased item was, and how much the customer paid. Then it tells you the change due, and the most efficient combination of bills and coins to pay it. However, …

Member Avatar for newbieee
0
758
Member Avatar for zmjman08

I'm new to Python as well, but I think I could offer some help. Well if you're looking to find lines that match up, instead of words, then you can do something like this: [code=python]file1 = open("file1.txt", "r") file2 = open("file2.txt", "r") file3 = open("file3.txt", "a") file1.seek(0,0) file2.seek(0,0) list1 = …

Member Avatar for santosh2430
0
14K
Member Avatar for Zebibyte

In an attempt to make my if statements cleaner, I figured out a simply way of making them quite a lot shorter. Instead of doing this: [code=python]elif talk_in == "quit" or talk_in == "q" or talk_in == "exit" or talk_in == "x":[/code] I can do this: [code=python]elif talk_in == ("quit" …

Member Avatar for Gribouillis
0
136
Member Avatar for Zebibyte

I just started learning Python a couple days ago, and my main goal for now is a text-based game, in which the user inputs commands to interact with the virtual world. My problem thus far, however, has been splitting a string up so that I can detect what action the …

Member Avatar for Zebibyte
0
121

The End.