Computer Science, asked by tasmiamustafa4, 2 months ago

write a program that input three numbers from the user and display the smallest number on screen ​

Answers

Answered by jai696
3

\large\mathsf\color{pink}{Solution\: using\: python\: 3}

def find_chotu(nums):

chotu = nums[0]

for n in nums:

if chotu > n:

chotu = n

return chotu

nums = [int(n) for n in input("enter 3 nums: ").split()]

print(f"smallest num: {find_chotu(nums)}")

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Similar questions