Home » Python Programming » Python - Quiz(s) » Week 8 – Python Programming – Quiz

Week 8 – Python Programming – Quiz

Please enter your email:

1. Provide your name for this quiz.

2. Comments in Python are preceded with a


3. If using a hashtag in Python, this will


4. The following line of code will produce an error.


5. What is the definition of “the action of linking things together in a series”?


6. Write this code out and run it three times. Tell me the answer provided.


import random

# Choose a random element from a sequence
seq = [‘a’, ‘e’, ‘i’, ‘o’, ‘u’]
x = random.choice(seq)

print (x)


Question 1 of 6

Leave a comment

Your email address will not be published. Required fields are marked *