0
How do i complete this?
A smart parking lot displays different messages to the visitor based on the number of available spaces. Task: Complete the program to inform the user about available spaces in the parking lot The program that has to be complete is: # Take the number of available spaces as an input spaces = int(input) # Display message if spaces are available if print("Available spaces") # Display a different message if spaces are not available print("Sorry, the parking lot is full")
1 Odpowiedź
+ 5
Adeena rasool given the coding project how many spaces are available in total (20)
spaces = int(input())
Now with that .. let's see your attempt as others have completed the exercise without being given the answer.
if spaces __ 20 and spaces __ 0:
else: