Welcome to Python Beginners Quiz. This quiz will check your basic knowledge in Python Programming Language. Each correct answer will give you 5 points each. Only a very small percentage of people could score 100 out of 100 in this quiz. So Let's begin !!!
8.
import random
fruit = random.randint(0,2)
fruits = ["Apple","Blueberry","Cherry"]
print("If you are hungry, You can eat {}".format(fruits[fruit]))
14.
What's the output?
fruits = ["Apple", "Blueberry", "Cherry"]
print(fruits[::-1])
You must log in to post a comment.