Skip to content · ⁨コンテンツへスキップ⁩

Count the positives

English

Count the positives

Return how many numbers in a list are greater than 0. Zero itself does not count.

A counter starts at 0 and grows by 1 each time the condition is true.

日本語

正の数のカウント

リスト内で 0 より大きい数がいくつあるかを返します。ゼロ自体はカウントしません。

カウンタは 0 で始め、条件が真になるたびに 1 ずつ増えます。

Log in or create account · ⁨ログインまたはアカウント作成⁩

IGCSE, A-Level & AP