Generation

generate functionFri, 05 May 2023

Sum and average of 5 numbers

def sum_and_avg(a,b,c,d,e): total=a+b+c+d+e avg=total/5 return total,avg sum_and_avg(1,2,3,4,5)

Want to kickstart your project?Use the new AI Studio to create your code