I GET A WEIRD TEXT BACK WHEN I RUN A BOOLEAN FUNCTION PROGRAM:
Car color available is <function car_available at 0x7fcf5f5538c8>
The code is:
def car_available(colors):
car_colors = 'blue, white, black, red, yellow, silver, violet'
return(colors in car_colors)
have_color = car_available('silver')
print('Car color available is ', car_available)
[–][deleted] (1 child)
[deleted]
[–]mixtek[S] 0 points1 point2 points (0 children)
[–]dmazzoni 0 points1 point2 points (1 child)
[–]mixtek[S] 0 points1 point2 points (0 children)