@@ -0,0 +1,289 @@
+import sys%0A%0Adef write_to_file(a,b,c):%0A    sys.stdout=open(%22test.txt%22,%22w%22) %0A    instantaneous_heart_rate=a%0A    avg_heart_rate=b%0A    Threshold=c%0A    print(instantaneous_heart_rate,' ',avg_heart_rate,' ',Threshold)%0A    sys.stdout.close()%0A    %0A%0A%0Awrite_to_file(60,72,input(%22enter the output%22))%0A

Check for Bradycardia/Tachycardia closes #9