MT_redo_solutionx

educationafflictedBiotechnology

Oct 4, 2013 (3 years and 10 months ago)

103 views

Python for Bioinformatics
Midterm Redo Solution 1. Show the output from the following program fragments:


x = float(input("Enter first floating point number: "))
Always returns a string

y = float(input("Enter second floating point number: "))

sum = x + y
avg = sum/2

print("sum =",sum,", average =",avg)