LearnPy Hub
← Pandas: Cleaning & Preprocessing problems
Easy

Count Missing Values

Print the number of missing values in the math and english columns, on one line.

Input

Lines 'name math english' ('-' = missing), then END.

Output

Two numbers.

Sample 1

Input
Mim 88 79
Rafi - 91
Sara 95 -
Tuhin 70 -
END
Output
1 2

Sample 2

Input
A 1 2
END
Output
0 0
solution.py
Output appears here
Count Missing Values · Python practice problem · LearnPy Hub