Computer Science, asked by anuragsingh090, 5 months ago

write a program to use the function cal( ) as follows :- a) cal (int x )- To print the smallest digit from a multi digit number.​

Answers

Answered by Kaushikkalesh
0

def cal(x):

lst = [int(i) for i in x]

lst.sort()

return lst[0]

x = input()

print("The Smallest digit in ", x, " is ", cal(x))

Note - The Code is in Python

Please Thank Me

Please Thank MeAnd Mark this as Brainliest

Similar questions