from Utils import find_max numbers = [10, 3, 6, 12] maximum = find_max(numbers) print(maximum)
from Utils import find_max numbers = int(input("Enter how many numbers:::")) numberlists = [] for loop in range(numbers): no = int(input("Enter Numbers:")) numberlists.append(no) maximun = find_max(numberlists) print(f'the numbers list is {numberlists}') print(f'The maximum number is {maximun}')
from Utils import find_max numbers = [5, 4, 8, 47, 25, 14, 20] print(find_max(numbers))
import Utils from Utils import find_max numbers = [1, 4, 56, 66, 76, 12, 22, 0] max = find_max(numbers) print(max)
numbers = [234, 123, 712, 98, 234] import Utils # Utils is another python module with pre-defined functions from Utils import find_max find_max( numbers ) # If we only import a specific function from another module, we dont have to prefix it with the name Utils.find_max( numbers ) # Compare it if we import the whole module, anything must be prefix