Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (8 sloc) 206 Bytes
with open("rosalind_ebin.txt","rU") as f:
line1=f.readline().strip()
line2=f.readline().strip()
n=float(line1)
nums=line2.split()
fnums=map(float,nums)
for x in fnums:
print round(n*x,3),
You can’t perform that action at this time.