Added print funxtion to speedLim

This commit is contained in:
Navan Chauhan 2019-05-29 19:39:42 +05:30
parent a0122c2f24
commit f67fe17dd5
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ def speedlim():
while int(carSpeed) <= int(speedLimit): while int(carSpeed) <= int(speedLimit):
carSpeedDummy = open("./files/carSpeed.txt", "r") carSpeedDummy = open("./files/carSpeed.txt", "r")
carSpeed = carSpeedDummy.read() carSpeed = carSpeedDummy.read()
print("Under the Speed Limit") print("Under the Speed Limit with a speed of ", carSpeed)
time.sleep(5) time.sleep(5)
################## ##################