Write a statement that uses a conditional operator to set fine to 500 if speed is more than 80, and to 0 otherwise
Answers
Answered by
0
Answer:
grant=(speed>68 ?10:0)......
i hope it help you...
Answered by
1
s = int(input("enter speed: "))
fine = 500 if s > 80 else 0
Similar questions