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

Опубликовано: 27 Август 2021
на канале: 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


На этой странице сайта вы можете посмотреть видео онлайн Required Code Description - Introduction to Python: Absolute Beginner Module 2 Video 8 длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Book Simplifiers 27 Август 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 60 раз и оно понравилось 0 зрителям. Приятного просмотра!