Combine conditions

Report a typo

You have the model Car with the fields speed and color:

class Car(models.Model):
    color = models.CharField(max_length=32)
    speed = models.FloatField()

Filter red cars with the speed equal to 200. The result should be a QuerySet object.

Write a program in Python 3
red_fast_cars = ...
___

Create a free account to access the full topic