Write a function that takes a number n as input and returns a tuple of two values - the number of digits in that number and sum of digits in that number.

Reverend Jim commented: Lazy and rude. -3

Recommended Answers

All 2 Replies

Is it your plan to post all your homework here for someone else to do? You also posted the "reverse words" question and found a kind-hearted person to do it for you. One such post gets a rebuke. Two in a row gets a snarky answer. Wanna try for three?

commented: lamest man i have i ever judged just by his comment. +0
commented: Thank you for this, good man. +15

"Lazy and rude" sums you up perfectly.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.