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
Auf dieser Seite können Sie das Online-Video Required Code Description - Introduction to Python: Absolute Beginner Module 2 Video 8 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Book Simplifiers 27 August 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 60 Mal angesehen und es wurde von 0 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!