PY
py
1
2
3
4
5
6
7
8
# Take the number of available spaces as an input
spaces = int(input())
# Display message if spaces are available
if spaces >=20:
print("Available spaces")
else:
# Display a different message if spaces are not available
print("Sorry, the parking lot is full")
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run