Required Code Description - Introduction to Python: Absolute Beginner Module 2 Video 8

Published: 27 August 2021
on channel: Book Simplifiers
60
0

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


On this page of the site you can watch the video online Required Code Description - Introduction to Python: Absolute Beginner Module 2 Video 8 with a duration of hours minute second in good quality, which was uploaded by the user Book Simplifiers 27 August 2021, share the link with friends and acquaintances, this video has already been watched 60 times on youtube and it was liked by 0 viewers. Enjoy your viewing!