In: Computer Science
The following task does not involve writing program code: instead, you will be writing function signatures for hypothetical functions (you will be defining functions in subsequent tasks).
def toThePower(x,y):
return x**y;
def quadruplicate(string):
return string*4;
def subtract(x,y):
return x-y;
def multiplicate(string,times):
return string*times;
print(toThePower(-0.1,3))
print(quadruplicate("na"))
print(subtract(10,3))
print(multiplicate("goo",3))
Screenshot
Feel free to ask any doubts, if you face any difficulty in understanding.
Please upvote the answer if you find it helpful