Observe the following programs carefully, and

identify the error:

a) def create (text, freq):

for i in range (1, freq):

print text

create(5) #function call

b) from math import sqrt,ceil

def calc():

print cos(0)

calc() #function call​

Answers & Comments


Add an Answer


Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Helpful Social

Copyright © 2024 EHUB.TIPS team's - All rights reserved.