Computer science Project File PageSet
Computer science Project File PageSet
Voting Program
4 System Requirements 4
6 Coding 6
7 Output Examples 7
8 Bibliography 8
OVERVIEW OF PYTHON LANGUAGE
Python was created in the early 1990s by Guido van Rossum at Stichting
Mathematisch Centrum (CWI) in the Netherlands as a successor to the ABC
language. Python is an interpreted, high-level, and general-purpose
programming language that emphasizes code readability and supports
multiple programming paradigms, including procedural, object-oriented,
and functional programming.
Python Software Foundation (PSF) manages the language’s development.
Python is open-source and widely used for web development, data science,
automation, artificial intelligence, and more.
For more information, visit www.python.org
My System Specifications:
Software Used:
• Python 3.6.2
if len(k) < 1:
l.append("default " + str(i+1))
else:
l.append(k)
v.append(0)
print("**********************")
for j in range(t):
for m in range(n):
print(m+1, 'for', l[m])
print("``````````````````````````")
if p > n or p < 1:
print("~~~~~~~~~~~~~~wrong choice~~~~~~~~~~~~~~~~~")
else:
v[p-1] = v[p-1] + 1
k = max(v)
r = v.index(k)
print()
print('WINNER IS ->', l[r])
print()
h = len(l)
for w in range(h):
print(l[w], '--->', v[w])
OUTPUT EXAMPLES
Example 1: Example 2:
********************** **********************
BIBLIOGRAPHY
The information for this project was gathered from multiple sources, including:
Web sources:
Google
Python.org
I sincerely thank Mr.Pramod Kumar Sharma for his support and guidance
throughout this project.