Search Results

Showing results 1 to 3 of 3
Search took 0.01 seconds.
Search: Posts Made By: AceofSpades19 ; Forum: Python and child forums
Forum: Python Feb 22nd, 2009
Replies: 7
Views: 494
Posted By AceofSpades19
you could just do

print "The location of the largest number is", (1+l1.index(max(l1))

or something similar
Forum: Python Feb 20th, 2009
Replies: 7
Views: 494
Posted By AceofSpades19
It would help if you wrapped your code in [CODE ] [/ CODE] tags
Forum: Python Jul 7th, 2008
Replies: 4
Views: 501
Posted By AceofSpades19
it is equal to 15 because you are passing b_var to the function

c_var = a_func(b_var)
you are getting mixed up between the a_var in the function and the other a_var
Showing results 1 to 3 of 3

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC