shmeckler41

Untitled

Jul 21st, 2015
343
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.20 KB | None | 0 0
  1. print(" ")
  2. print(" ")
  3. print(" ")
  4. print(" ")
  5. print(" ")
  6. print("________________________________________________________ ")
  7.  
  8.  
  9.  
  10. #regularity, pr, qr, st, and arate are inactive for future development
  11. '''regularity = input("Is it regular? ")
  12. pr = input("What is the pr length? ")
  13. qr = input("How wide is the QRS? ")
  14. st = input("Is there ST elevation? ")
  15. arate = input("What is the atrial rate? ")'''
  16.  
  17.  
  18.  
  19.  
  20. vrate = input("What is the ventricular rate? ")
  21.  
  22. def asystole():
  23.     if vrate == '0':
  24.         print(" ----------YOUR RESULTS HERE--------- ")
  25.         print(" Asystole!")
  26.         print(" ------------------------------------ ")
  27.     else:
  28.         vtach()
  29.        
  30.    
  31.  
  32. def vtach():
  33.     if vrate >= '160':
  34.         qrswidth = input("Is the QRS wide or narrow?  ")
  35.     if qrswidth == "wide" or "Wide" or "WIDE" or "wIDE":
  36.         print("V-TACH!")
  37.     elif qrswidth == "narrow" or "nARROW" or "NARROW" or "nARROW":
  38.         print("SVT!")
  39.     else:
  40.         print("done")
  41.    
  42.     """
  43.     elif qrswidth == "narrow" or "nARROW" or "NARROW" or "nARROW":
  44.         print("SVT!")
  45.     else:
  46.         print("move along")
  47.        
  48.     """
  49.        
  50.    
  51.  
  52.    
  53.  
  54. print(" ")
  55. print(" ")
  56. #print(" ----------YOUR RESULTS HERE--------- ")
  57. asystole()
  58. #print(" ------------------------------------- ")
  59. print(" ")
  60. print(" ")
Advertisement
Add Comment
Please, Sign In to add comment