You are on page 1of 3

String formatting

String formatting

An animal shelter has 3 cats, 5 dogs and 10 guinea pigs. Store these values in
variables.

Print out a string that details the animals hosted at the shelter.
String formatting

You and five friends have won the lottery, getting in total one million dollars.

Print out a string that says how much each friend gets.

You might also like