Module 2 Required Coding Activity
Introduction to Python Unit 1
This Activity is intended to be completed in the jupyter notebook, Required_Code_MOD2_IntroPy.ipynb and then pasted into the assessment page that follows.
All course .ipynb Jupyter Notebooks are available from the project files download topic in Module 1, Section 1.
This is an activity based on code similar to the Jupyter Notebook Practice_MOD02_1-3_IntroPy.ipynb which you may have completed.
Some Assignment RequirementsNOTE: This program requires a function be defined, created and called. The call will send values based on user input. The function call must capture a return value that is used in print output. The function will have parameters and return a string and should otherwise use code syntax covered in module 2.
Program: fishstore()
create and test fishstore()
fishstore() takes 2 string arguments: fish & price
fishstore returns a string in sentence form
gather input for fish_entry and price_entry to use in calling fishstore()
print the return value of fishstore()
example of output: Fish Type: Guppy costs $1
[ ] create, call and test fishstore() function # then PASTE THIS CODE into edX
In questa pagina del sito puoi guardare il video online Required Code Description - Introduction to Python: Absolute Beginner Module 2 Video 8 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Book Simplifiers 27 agosto 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 60 volte e gli è piaciuto 0 spettatori. Buona visione!