Python Project
Go to solution
Solved by martward,
You need to write if express_shipment == 'n' or express-shipment =='no':
There is a difference in python between " and ' (forgot what it was though)
Also I would use: if "y" in express_shipment, it's easier more compact and more robust.
And you don't need an elif if you are not adding an else. Just check whether the input contains a y and use else for if it doesn't.

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now