Question: a) Identify all errors in the Python scripts below and correct them def ageindays(a): return float(a)*365.25 x = raw_input(How old are you in years? )
a) Identify all errors in the Python scripts below and correct them
def ageindays(a):
return float(a)*365.25
x = raw_input("How old are you in years? ") print ageindays()
B) Identify all errors in the Python script below and correct them
q = 1
while q > 0:
q = 3*q -1
print q
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
