Psst! Check what courses we have in our offer, and get them all here to save $727. Act fast–this deal is available only 3/14–3/21.
Introduction
Quiz
2. Question 1
Summary

Instruction

Let’s start with something easy.

Exercise

Write a program that asks the user for a string...

Please provide a string: {string}

...and prints the number of digits in this string on a new line.

Stuck? Here's a hint!

Use the isdigit() function on each character in the string.