MT_redo_solutionx

educationafflictedΒιοτεχνολογία

4 Οκτ 2013 (πριν από 3 χρόνια και 10 μήνες)

102 εμφανίσεις

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)