Solve problem "The number of distinct elements" online - Learn Python 3 - Snakify

The number of distinct elements


Statement

Given a list of numbers with all of its elements sorted in ascending order, determine and print the quantity of distinct elements in it.
Advertising by Google, may be based on your interests

In all the problems input the data using input() and print the result using print().

Advertising by Google, may be based on your interests