โ† Back to Exercises
๐ŸŽ

Tuples & Sets โ€ข Exercise 70 of 112

Unpack a Pet

Easyโญ 20 XP๐Ÿ† Your XP: 0

๐ŸŽฏ Your Mission

Create a tuple pet = ("Rex", "dog", 4). Unpack it into three variables name, kind, and age, then print "Rex is a dog and is 4 years old".

๐Ÿ main.pyTab = 4 spaces โ€ข Ctrl+Enter = Run
โ–ถ Output
Press โ–ถ Run to see what your code does!