#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ ENGG1811 Lecture Week 02 A function having multiple inputs and returns multiple outputs """ # The function mySqr squares the input and # returns it as the output def my_power3(x, n1, n2, n3): y1 = x ** n1 y2 = x ** n2 y3 = x ** n3 return y1, y2, y3 a1, a2, a3 = my_power3(5, 2, 3, 4) print('The values of a1', a1) print('The values of a2', a2) print('The values of a3', a3)