Skip to content
Permalink
Browse files
Fixed upper case letter
  • Loading branch information
mateussa committed Nov 24, 2017
1 parent caaca7f commit 4eb6f6c3243195a091bd3c0ee9f0c2da062c6c1d
Showing 1 changed file with 2 additions and 2 deletions.
@@ -139,7 +139,7 @@ def oneQuestion(qType): # Andre
sendMessage("-" * 50, False)


def quizchallenge(nrQuestions): # Andre
def quizChallenge(nrQuestions): # Andre
''' With input of a number of questions, output a list of question sets
with the lenght of the choosen input '''
if (nrQuestions < 1 or nrQuestions > 50):
@@ -255,7 +255,7 @@ while True:
nr = askSomething(0, ["How many questions would you like to answer?"],
["Pick a number between 2 and 50."], "5")

score = quizchallenge(int(nr))
score = quizChallenge(int(nr))

sendMessage("You got {} out of {} quesions right!".format(score, nr), False)

0 comments on commit 4eb6f6c

Please sign in to comment.