Questions: 5 831

Answers by our Experts: 5 728

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

The following code should take a number as input multiply it by 8, and print the result. In line 2 of the code, the * symbol represents multiplication.

Fix the errors so that the code works correctly


A survey gathers heights and weight of 50 participants and recorded the participants age as ages=[40,56,46,58,79,70,67,46,32,91,92,93,47,95,69,56,50,30,9,29,29,0,31,21,14,18,16,18,76,68,6,9,78,81,71,91,01,69,78,77,54,59,59,41,51,48,49,76,10]
create multiline chart on common plot where three data range plotted on same chart.The data range(s)to be plotted are:data=[[5,25,45,20],[8,1,29,27],9,29,27,39]]
The following code lines represent a simple expert system about a
cancer image detection under computer vision. You are required to
identify and explain the effect of the different command lines;
3import cv2
import numpy as np
cap = cv2.VideoCapture(0)
while(1):
_, frame = cap.read()
hsv = cv2.cvtColor(frame, cv2.COLOR_BGR2HSV)
lower_red = np.array([0,0,0])
upper_red = np.array([255,255,180])
mask = cv2.inRange(hsv, lower_red, upper_red)
res = cv2.bitwise_and(frame,frame, mask= mask)
cv2.imshow('frame',frame)
cv2.imshow('mask',mask)
cv2.imshow('res',res)
k = cv2.waitKey(5) & 0xFF
if k == 27:
break
cv2.destroyAllWindows()
cap.release()
Write a program to calculate the molecular weight of a protein sequence assuming
a. mol.wt per aminoacid = 110 Da if sequence length is less than 10
b. mol.wt per aminoacid = 105 Da if sequence length is more than 10

i need to know the python code that would find the farthest north, south, east and west with the cordinates lat = [40.59, 40.52, 40.621, 40.519, 40.56, 41.265, 40.61, 40.806, 41.259, 41.265, 41.264, 41.264, 41.259, 41.262, 41.263]

lon = [69.532, 69.419, 69.354, 69.263, 69.478, 70.805, 69.706, 70.331, 70.815, 70.823, 70.815, 70.81,














i need your help






Write a program to enter a number and test if it is greater than 45.6
Modify your program from Learning Journal Unit 7 to read dictionary items from a file and write the inverted dictionary to a file. You will need to decide on the following:

How to format each dictionary item as a text string in the input file.
How to covert each input string into a dictionary item.
How to format each item of your inverted dictionary as a text string in the output file.
Create an input file with your original three-or-more items and add at least three new items, for a total of at least six items.


Include the following in your Learning Journal submission:

The input file for your original dictionary (with at least six items).
The Python program to read from a file, invert the dictionary, and write to a different file.
The output file for your inverted dictionary.
A description of how you chose to encode the original dictionary and the inverted dictionary in text files.
could you help me Sample Run
Please note that due to the infinite possibility of questions that can be asked, your program will be different—this is only one example.

What is your first name?
Pascal
What is your last name?
Smith
Hi there, Pascal Smith, nice to meet you!

How old are you?
17
17 is a good age.
You are old enough to drive.

So, Pascal, how are you today?
Happy
You are happy.
That is good to hear.
Tell me more.

I am just happy.
That's good to hear.

Well, Pascal, it has been nice chatting with you.
2.Compute –Do the same as above but now with Time on App and Yearly Amount Spent. Is this correlation stronger than 1stOne?
3.Compute --Explore types of relationships across the entire data set using pairplot . Based off this plot what looks to be the most correlated feature with Yearly Amount Spent?
4.Compute –Create linear model plot of Length of Membership and Yearly Amount Spent. Does the data fits well in linear plot?
5.Compute –Train and Test the data and answer multiple questions --What is the use of random_state=85?
6.Compute –Predict the data and do a scatter plot. Check if actual and predicted data match?7.What is the value of Root Mean Squared Error?
LATEST TUTORIALS
APPROVED BY CLIENTS