Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~499 People Reached
Favorite Forums
Favorite Tags
Member Avatar for aadarsh_khare

Could anyone help me in understanding what does below Python code do? Also please help me in converting it into Java. import random howMany = random.randint(0,1000) stats = {} for i in range(howMany): value = random.randint(0,500) stats.setdefault(value,0) stats[value]+=1 for item in stats: if stats[item] > 1: print item

Member Avatar for JasonHippy
-1
262
Member Avatar for aadarsh_khare

I'm getting the following error after running my code: OleDbException was unhandled "No of query values and destination fields are not the same" Because of this query I'm unable to save data. Please help, what could be the reason? ======================================= Here is a part of the code which could be …

Member Avatar for divyam_shukla
0
237