|
[Python] Elections program!!
|
|
01-25-2010, 10:56 AM
Post: #1
|
|||
|
|||
|
Okay this is one interesting task which I got on my studies, for practice, few weeks before my second Colloqua exam. I find it very interesting so I will share it. I will put few comments in some places for better understanding... I hope.
![]() Code: no_candidates=int(raw_input("Enter the number of candidates: "))Oh I almost forgot. Here is an example how it looks in Python Shell after you run it. Code: Enter the number of candidates: 3
|
|||
|
01-25-2010, 12:12 PM
Post: #2
|
|||
|
|||
|
RE: [Python] Elections program!!
Nice I'm ready to hack you voting system. JK
|
|||
|
01-25-2010, 08:16 PM
Post: #3
|
|||
|
|||
|
RE: [Python] Elections program!!
Good use of loops. Good calculations and fast algorithm. Overall very good !
There's a fine line between genius and insanity. I have erased this line. Oscar Levant There's a fine line between an administrator and black hat hacker. I have erased this line. Dr DEBCOL |
|||
|
01-26-2010, 04:41 AM
Post: #4
|
|||
|
|||
|
RE: [Python] Elections program!!
lol i will sell it in the next US president elections. i will be rich.... lol
@co(de)caine ![]() well im just a beginner and i dont know how to protect programs, and my intention wasnt to protect it. i shared the source ![]() @drdebcol thx bro
|
|||
|
« Next Oldest | Next Newest »
|







