-
Include a shebang line.
-
Make your file executable with a ./
-
Save a user's input to the variable
char_namefrom the following question:Which character do you want to know about? (Flash, Batman, Superman) -
Save a user's input to the variable
char_statfrom the following question:What statistic do you want to know about? (strength, speed, or intelligence) -
Use the
char_nameandchar_statvalues to pull the appropriate value from the dictionary below.{"flash":{"speed": "fastest", "intelligence": "lowest", "strength": "lowest"}, "batman":{"speed": "slowest", "intelligence": "Highest", "strength": "Money"}, "superman":{"speed": "fast", "intelligence": "average", "strength": "strongest"}} -
You should return an output line that looks like this:
flash's speed is: fastest
BONUS: When returning the hero's name, have it capitalized appropriately (e.g. Flash, not flash)