Question: I need help with this code in python 3 ---------------------------------- #!/usr/bin/env python import math c=50 h=30 value = [] items=[x for x in raw_input().split(',')] for

I need help with this code in python 3 ---------------------------------- #!/usr/bin/env python import math c=50 h=30 value = [] items=[x for x in raw_input().split(',')] for d in items: value.append(str(int(round(math.sqrt(2*c*float(d)/h))))) print ','.join(value) #getting an error and im not entirely sure what is going wrong. it is telling me "raw_input" is an unresolved #refrence. also the print statement say it has no effect.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!