+1 (315) 557-6473 

Create a Program to Implement Functions in Python Assignment Solution.


Instructions

Objective
Write a python assignment to implement functions.

Requirements and Specifications

program to implement functions in python
program to implement functions in python 1
program to implement functions in python 2

Source Code

def Q1():

print('Hello World')

def Q2():

print('Eastern University')

def Q3(x):

print(x)

def Q4(x):

print(x ** 2)

def Q5(x):

print(x ** 3)

def Q6(x):

print('The argument is',x)

def Q7(x,y):

print(x - y)

def Q8(a,b,c,d,e):

print(a * b * c * d * e)

def Q9(x):

for i in range(x):

print(i)