Python Basic Test
 
For consistency double quotes have been used throughout this quiz

Create a string variable called pet and assign it the value of dog
Create an Integer variable called pet_count and assign it the value of 3
Create a dictionary variable called pet_directory and assign the following values into the dictionary. name: Spot Breed: Spotty Age: 4
Create a Float variable called pet_weight and assign it the value of 25.6
Create a list variable called pet_list and assign the following values in the list. Dog, Cat, Fish, Rabbit, Hamster
Create a tuple variable called pet_shop and assign the following values into the tuple. Hamster, Russian, 3.99
{"name":"Python Basic Test For consistency double quotes have been used throughout this quiz", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Create a string variable called pet and assign it the value of dog, Create an Integer variable called pet_count and assign it the value of 3, Create a Float variable called pet_weight and assign it the value of 25.6","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker