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.

~417 People Reached
Favorite Forums
Favorite Tags
Member Avatar for JuvenileMango

How can I write a definition for a function that is passed a list of numbers and returns the sum of the numbers in that list using a while loop? I'm trying this, but it's not working def sumList(): num = [1,2,3] sum = 0 while num != str: for …

Member Avatar for JuvenileMango
0
87
Member Avatar for JuvenileMango

What is the difference between [CODE]file = open("name.txt")[/CODE] and [CODE]file = open("name.txt", 'r')[/CODE]? I can still use the methods: read(n), readline(n), and readlines(n) without adding the "r" in the open method.

Member Avatar for JuvenileMango
0
93
Member Avatar for JuvenileMango

Hi, I'm completely new to Java, and I'm already lost with the installation. :p I'm on the custom install page and I see Source Code: Source code for classes that comprise the public API of Java. Public JRE: The standalone JRE. Any application can use this JRE. It registers Java …

Member Avatar for JuvenileMango
0
62
Member Avatar for JuvenileMango

Hi, I'm trying to write a hangman game program, but some things aren't working properly. [CODE]def hangman(): choice=input("Enter a letter: ") a=type.find(str(choice)) if len(choice)>1: print ("Only one letter please") hangman() elif a!=-1: b[a]=str(choice) print ("Correct") c=''.join(b) print (c) if type==c: print ("WINNAR!") else: hangman() else: d+=1 e[d]=choice if d==0: print …

Member Avatar for JuvenileMango
0
175