Answer:
shortNames = ['Gus', 'Bob','Zoe']
Explanation:
In this assignment, your knowledge of list is been tested. A list is data structure type in python that can hold different elements (items) of different type. The general syntax of a list is
listName = [item1, "item2", item3]
listName refers to the name of the list variable, this is followed by a pair of square brackets, inside the square brackets we have items separated by commas. This is a declaration and initialization of a list with some elements.
The complete python code snippet for this assignment is given below:
<em>shortNames = ['Gus', 'Bob','Zoe']</em>
<em>print(shortNames[0])</em>
<em>print(shortNames[1])</em>
<em>print(shortNames[2])</em>
Answer:
thank you so much!
Explanation:
you seem like such a nice person! have a great weekend!
Answer:
Neural Networks
Explanation:
Neural networks are networks that mimic the behaviour of the human brain in which they tend to perform a task without been programmed with the task rule, although the neural network are artificial in nature and they often recognize patterns.
Neutral network have cell that enable them to carry out task together in order to produce a desired result and the cell can only solve a little part of tasks.
Answer:
The solution code is written in Python:
- COST_PER_500MI = 1.1
-
- weight = float(input("Enter weight of package: "))
- total_cost = weight * COST_PER_500MI
- print("The shipping charges is $" + str(round(total_cost,2)))
Explanation:
Based on the information given in the question, we presume the cost per 500 miles is $1.10 per pound ($2.20 / 2 pound).
Create a variable COST_PER_500MI to hold the value of cost per 500 miles (Line 1). Next, prompt user input the weight and assign it to variable weight (Line 3). Calculate the shipping charge and display it using print function (Line 4-5).
Answer:
I am a young lady.
Explanation:
simply sentence or expand more:
- I am a young lady in my teens.
- I am a young woman in her twenties.
- I am a twenty-year-old lady who is just starting off in life.
- I am a twenty-year-old woman who is just getting her feet wet in the world.