Apr-27-2017, 07:16 AM
Hello, I've stumbled across a problem when creating a program.
The start to my program looks along the lines of:
def parseVote(s):
if s == []:
print('0')
If the user doesn't input a value for parseVote() I want it to print '0' but it is missing an argument so wont do that, help would be greatly appreciated!
The start to my program looks along the lines of:
def parseVote(s):
if s == []:
print('0')
If the user doesn't input a value for parseVote() I want it to print '0' but it is missing an argument so wont do that, help would be greatly appreciated!