explained in attachment
Task 6 (of 8) [Individual]
Learning Objectives: Perform arithmetic operations in Python (i.e., addition, subtraction, multiplication, division, and exponentiation), while keeping in mind order of operations;
Create valid identifiers, accounting for relevant Python rules (i.e. keywords) and code standard; Implement the use of expressions in Python to assign values to variables; Recognize and explain the differences between various data types in Python;
Convert between data types (e.g. strings to integers, or floats to integers) in Python based on program needs; Identify which resources are available to you to aid in learning Python; Import modules in Python (i.e. math module); Employ the Spyder IDE to write, edit, and save Python code; Output data from a script to the screen in Python.
Task: As you further explore programming, you will find that there are several concepts and features hidden within each language that lend greatly to the usability of the language in a niche field or when looking to solve a specific problem in a specific way. Python contains a number of hidden elements within its built-in modules that apply to unique situations or tasks. In this activity, you will be asked to delve deeper into the world of Python modules. In order to learn about and apply these modules, you will need to do some research on your own. Being able to use your resources to help you find answers to difficult problems will be an important skill for you to master, not only for this class, but also going forward as an engineer. Suggested modules to research: random, fractions
Suggested built-in functions to research: round(), int(), float(), input(), limit_denominator()
Hint: When you want to find out what a function does, type help(function_name), e.g. help(int) or help(round) into the Python Console (or search the internet).
Suggested: Investigate the difference between the following and how it affects the calling of functions: from (module) import (function) import module
DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma
Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t
Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th
1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of
1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of