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
Sur cette page du site, vous pouvez voir la vidéo en ligne Required Code Description - Introduction to Python: Absolute Beginner Module 2 Video 8 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Book Simplifiers 27 août 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 60 fois et il a aimé 0 téléspectateurs. Bon visionnage!