I want to print numbers from 1 to 100, but for multiples of 3 I want to print "Fast" ,for multiples of 7 I want to print "Car" and for multiples of both 3 & 7 I want to print "Fast Car" instead of that number. Here I'm trying to implement it using Python. This is my 1st program in Python. Here I'm getting syntax error. Can any one help me with this??
for num in range(1,100)
if num%3==0 & num%7==0
print "Fast Car"
elif num%3==0
print"Fast"
elif num%7==0
print "Car"
else
print num