Initialize the citation list below inPython:
citation=["Parking:112","Speeding:234","Crash:234"]
1. Input the user to enter citation name.
2. Create for loop that iterates through the list.
3. Separate each citation and its corresponding number by splitting ":", the delimeter. Keep in mind, citations can be added to the list.
4. If the citation is in the list, print the corresponding citation number.
5. If the citation is not on the list, print that the citation is not found.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here