I would like to use for loop and if to find out the elements in emptylists that are also in tollroad and append the elements in tollroad into a new list Tollroads
tollroad = ['Aberdeen Tunnel', 'Lion Rock Tunnel', 'Shing Mun Tunnels','Tseung Kwan O Tunnel', 'Tsing Sha Highway','Cross Harbour Tunnel',
'Eastern Harbour Crossing','Western Harbour Crossing', 'Tate\'s Cairn Tunnel', 'Tai Lam Tunnel', 'Lantau Link']
Emptylists = ['租庇利街 Jubilee Street', '德輔道中 Des Voeux Road Central', '摩利臣街 Morrison Street', '干諾道西 Connaught Road West','西區海底隧道 Western Harbour Crossing', '西九龍公路 West Kowloon Highway', '海寶路 Hoi Po Road', '海寶路 Hoi Po Road','連翔道 Lin Cheung Road','荔寶路 Lai Po Road',]
My code is below but nothing is created:
Emptylists
tollroad = ['Aberdeen Tunnel', 'Lion Rock Tunnel', 'Shing Mun Tunnels','Tseung Kwan O Tunnel', 'Tsing Sha Highway','Cross Harbour Tunnel',
'Eastern Harbour Crossing','Western Harbour Crossing', 'Tate\'s Cairn Tunnel', 'Tai Lam Tunnel', 'Lantau Link']
Tollroads=[]
for Emptylist in Emptylists:
if Emptylist in tollroad:
Tollroads.append(tollroad)
Tollroads