Easy
Drop Rows Missing English
Drop only the rows where english is missing (
dropna(subset=['english'])) and print the remaining names on one line, or none.Input
Lines 'name math english' ('-' = missing), then END.
Output
One line.
Sample 1
Input
Mim 88 79 Rafi - 91 Sara 95 - Tuhin 70 - END
Output
Mim Rafi
Sample 2
Input
A 1 2 END
Output
A
Output appears here