Computer Science, asked by lavishrana4719, 10 months ago

Def changer (p,q=10):
p=p/q
q=p%q
print p,"#" ,q
return p

Answers

Answered by codec
0

Answer:

it will return the decimal of the value u enter as p when u call the function changer

if u pass anything other than an int or a float it will give u error

int is more appreciated as converting to float will give u a depreciation warning but it will still run

Explanation:

Similar questions