Skip to content

Commit ee748cc

Browse files
Update voting
1 parent 4a2ceb7 commit ee748cc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

voting

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
import time
33
def session1():
44
print("Are you sure you want to vote for John Doe?")
5-
input("Y/N: ")
5+
votevar = input("Y/N: ")
6+
if votevar() == 'Y'
7+
print("Thank you for voting for John Doe")
68
def session2():
79
print("Are you sure you want to vote for Jane Smith?")
810
input("Y/N: ")

0 commit comments

Comments
 (0)