aboutsummaryrefslogtreecommitdiff
path: root/function-specific-programs/drunk.py
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2019-05-26 18:18:28 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2019-05-26 18:18:28 +0530
commit5d4e27dc0776fd04d8a67dfd0f8cd9a51cbec4cc (patch)
treeeabdc4f68a54d4c8af5cf5b0a80605236ec74ee6 /function-specific-programs/drunk.py
parente5d413994cb23564abc9c42bf0ce2cc762222a6c (diff)
Created Python Folder
Diffstat (limited to 'function-specific-programs/drunk.py')
-rw-r--r--function-specific-programs/drunk.py25
1 files changed, 0 insertions, 25 deletions
diff --git a/function-specific-programs/drunk.py b/function-specific-programs/drunk.py
deleted file mode 100644
index 7e4d94d..0000000
--- a/function-specific-programs/drunk.py
+++ /dev/null
@@ -1,25 +0,0 @@
-from uber_rides.session import Session
-from uber_rides.client import UberRidesClient
-
-
-session = Session(server_token=<TOKEN>)
-client = UberRidesClient(session)
-
-
-print("Your Location Appears to be around places which sells \n alcohol, please taka the breathalyser test ")
-
-bac = 0.02
-
-if(bac >= 0.08):
- print("Please Do Not Drive!\n")
- print("I can call a cab if you want\n")
- print("Say No, to disagree, else I'll book the cab")
- input = yes
- if(input==no):
- print("You are not fit to drive")
- print("Text message to emergency contact sent")
- break
- print("Your cab has been booked, thank you for not driving")
- break
-print("have a safe journey!")
-