LearnPy Hub
← Machine Learning: scikit-learn problems
Easy

Name the Feature

Load the iris dataset with load_iris(). Read a column number i (0-3) and print the name of that feature, then the largest value in that column.

Input

One integer i (0 to 3).

Output

The feature name, then the maximum value on the next line.

Sample 1

Input
0
Output
sepal length (cm)
7.9

Sample 2

Input
2
Output
petal length (cm)
6.9
solution.py
Output appears here
Hints
Name the Feature · Python practice problem · LearnPy Hub