Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started