aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2019-05-29 19:39:42 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2019-05-29 19:39:42 +0530
commitf67fe17dd520455ef69f9aa678a30b8541a8d9b7 (patch)
tree2c5e10deb26438204e97ab8bf60e1bb31ee0cd06
parenta0122c2f2476fa502b4c8f780c68fd00b472e2b3 (diff)
Added print funxtion to speedLim
-rwxr-xr-xpythonProgram/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pythonProgram/main.py b/pythonProgram/main.py
index 2d89586..de977f5 100755
--- a/pythonProgram/main.py
+++ b/pythonProgram/main.py
@@ -318,7 +318,7 @@ def speedlim():
while int(carSpeed) <= int(speedLimit):
carSpeedDummy = open("./files/carSpeed.txt", "r")
carSpeed = carSpeedDummy.read()
- print("Under the Speed Limit")
+ print("Under the Speed Limit with a speed of ", carSpeed)
time.sleep(5)
##################