Can anyone please help me with this as soon as possible.This is a school assignment that I need to do but I am really struggling.
1.Create a python program that determines whether you will get a speeding ticket depending on the type of road you are driving on and the speed you are driving at. The user should input the type of road they are driving on (residential, commercial, or freeway) and the speed they are driving at as an integer. The speed limit on a residential street is 25mph; the speed limit on a commercial street is 35mph; and the speed limit on a freeway is 65mph.
Hereâ€™s what I did
input(â€śPlease enter the type of street you are driving on:residential, commercial, freewayâ€ť)
input(â€śPlease enter at what speed you are driving atâ€ť)
street_residential=input
street_commercial=input
street_freeway=input
speed=input
if street_residential and speed > 25:
print(â€śYou get a speeding ticketâ€ť)
if street_commercial and speed > 35:
print(â€śYou get a speeding ticketâ€ť)
if street_freeway and speed > 65:
print(â€śYou get a speeding ticketâ€ť)
What am I doing wrong?
Here are some other problems I am having issues with. Can you help me?
Branching and Conditionals

Ask the user to input the year he or she was born in, and print the corresponding generation they belong to:
*GI Generation: 19011926
*Mature/Silents: 1927 1945
*Baby Boomers: 1946 and 1964
*Generation X: 1965 and 1980
*Generation Y/Millenium: 1981 and 2000
*Generation Z/Boomlets: Born after 2001 
Ask the user to input a number. If the number is divisible by 2 print â€śevenâ€ť. If it is divisible by 3 print â€śdivisible by 3â€ť. If it is divisible by 5, print â€śdivisible by 5â€ť. If itâ€™s divisible by 10, print â€śdivisible by 10â€ť. If the number is divisible by more than one of these numbers, print only the highest number it is divisible by (ie. For number = 150, the program should print â€śdivisible by 10â€ť). If the number is not divisible by any number, print "not divisible by 2, 3,
5 or 10.
3.Allow the user to input two integers, a and b. Use branching to print True if either of the two numbers is equal to 5, or if the sum or difference of the numbers equals 5. Otherwise, print False.