85. Program to create a function that prints hello world and after that calling the function def printme(): print("hello world"); printme(); 86. Program to create a function that checks whether number is even or odd def evenodd(a): if(a%2==0): print("number is even"); else: print("number is odd"); evenodd(10); 87. Program to create a function that calculates factorial of a number def factorial(a): fact=1; for i in range(1,a+1): fact=fact*i; print("factorial of number is ",fact); factorial(5); 88. Program to create a function that checks whether number passed as argument is prime or not def checkprime(a): prime=1; for i in range(2,a): if(a%i==0): prime=0; break; if(prime==1): print("number is prime"); else: print("number is not prime"); checkprime(5); 89. Program to create a function that prints table of number passed to it as argument def printtable(a): for i in range(1,11): print(a*i); printtable(3); 90. Program to create a function that calculates sum of two numbers passed to it as argument def sum(a,b): s=a+b; print("sum of numbers is ",s); sum(5,10); 91. Program to create a function that takes two arguments and calculates difference between them def difference(a,b): d=a-b; print("difference between two numbers is ",d); return; difference(15,10); 92. Program to create a function that takes two arguments and calculates product of these two arguments def product(a,b): pro=a*b; print("product of two numbers is ",pro); return; product(15,10); 93. Program to create a function that calculates quotient of two arguments passed to it def quotient(a,b): q=a/b; print("quotient of two numbers is ",q); return; quotient(50,10); 94. Program to create a function that calculates remainder of two arguments passed to it def remainder(a,b): r=a%b; print("remainder of two numbers is ",r); return; remainder(50,10); 95. Program to create a function that takes three arguments and calculates their sum def calcsum(a,b,c): s=a+b+c; print("sum of three numbers is ",s); return; calcsum(10,20,30); 96. Program to create a function that takes three numbers as arguments and find the largest of three def findlargest(a,b,c): if a>b and a>c: print(a ," is largest"); if b>a and b>c: print(b, " is largest"); if c>a and c>b: print(c , " is largest"); return; findlargest(10,20,30); 97. Program to create a function that takes three numbers as arguments and find smallest of three def findsmallest(a,b,c): if a=1000): discount=0.1*price; else: discount=0.05*price; print("discount is : ",discount); calcdiscount(2000); calcdiscount(500); 108. Program to create a function that takes two arguments as price and discount percentage and calculates discount based on discount percentage def calcdiscount(price,dcount): discount=price*(dcount/100); print("discount is : ",discount); calcdiscount(2000,10); 109. Program to create a function that displays hello world for n number of times n is passed to function as argument def displayhello(n): for i in range (1,n+1): print("hello world"); displayhello(10); 110. Program to create a function factorial that calculates factorial of a number and returns factorial of the number def factorial(n): fact=1; for i in range(1,n+1): fact=fact*i; return fact; f=factorial(5); print("factorial is : ",f); 111. Program to create a function checkprime that checks whether number apssed to it is prime or not if number is prime it returns 1 else it returns 0 def checkprime(n): prime=1; for i in range(2,n): if(n%i==0): prime=0; break; if(prime==1): return 1; else: return 0; result=checkprime(5); print(result); result=checkprime(10); print(result); 112. Program to create a function that returns area of circle based on radius of circle passed to it as argument def area(r): ar=3.14*r*r; return ar; result=area(10); print("Area of circle is : ",result); 113. Program to create a function that returns sum of numbers from a to b passed to function as arguments def sumatob(a,b): sum=0; for i in range(a,b+1): sum=sum+i; return sum; result=sumatob(5,15); print("sum of numbers from 5 to 15 is : ",result); 114. Program to create a function that returns largest of three numbers passed to it as arguments def checklarge(a,b,c): if((a>b) and (a>c)): return a; if((b>a) and (b>c)): return b; if((c>a) and (c>b)): return c; result=checklarge(10,9,7); print("largest of 10,9,7 is : ",result); 115. Program to create a function that returns smallest of three numbers passed to it as arguments def checksmall(a,b,c): if((a