Pa - 1 CS (FH)
Pa - 1 CS (FH)
Pa - 1 CS (FH)
For example :
If the lists with customer details are as follows :
["Siddarth", "Delux"]["Rahul", "Standard"]["Jerry", "Delux"]
The stack should contain
Jerry
Siddharth
The output should be:
Jerry
Siddharth
Underflow
13 Write a function in Python, Push (Vehicle) where, Vehicle is a dictionary containing 3
details of vehicles – {Car_Name: Maker}.
The function should push the name of car manufactured by 'TATA' (including all the
possible cases like Tata, TaTa, etc.) to the stack.
For example:
If the dictionary contains the following data:
Vehicle={ "Santro": "Hyundai", "Nexon": "TATA", "Safari": "Tata" }.
The stack should contain
Safari
Nexon