Computer Science, asked by karlapatiashish, 5 months ago

What will be the output of the following Python program?
def fun (a, b=1,
c=5) :
print('a is', a, 'bis', b, 'c is', c)
fun (3)
fun (3,7,10)
fun (25, c=20)
fun (c=20, a=10)
fun (a=1.5, b=3)
fun (5,2)

Answers

Answered by RuwaisnZaid
0

Explanation:

>>a is 3,b is 1,c is 5

>>a is 3 b is 7 c is 10

>>a is 25 b is 1 c is 20

>> a is 10 b is 1 c is 20

>> a is 1.5 b is 3 c is 5

>> a is 5 b is 2 c is 5

mark me as brainly

follow me

Similar questions