Question: Task 5 : Working with dictionaries Here is a reference on dictionaries. In [ ] : pokemon nane: bulbasaur, nickname: potato, } shiny: False In
Task : Working with dictionaries
Here is a reference on dictionaries.
In : pokemon
"nane": "bulbasaur",
"nickname": "potato",
"shiny": False
In :
b Change the value of nickname from potato to something else.
In :
c Add the key, value pair "type" : "grass" to the dictionary.
In :
Task : Loops and If Statements
a Use the range function to loop through numbers and print each one.
Note: Should iterate between a range of and the length of numbers
In
In :
b Loop through potatoweights and print yum if it is larger than
In : potatoweights
In :
c Loop through and print each value of potatoweights until it is less than
There are multiple ways to do this this is not the only possible answer
In :
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
