Answer:
input() prompts the user to enter information
It's called an <span>RSS (Really Simple Syndication).
</span>A Web service that aggregates selected information from various Web resources, including newsgroups, blogs, forums, and other news and information services and delivers it to a user ' s desktop in a convenient, easy-to-use format.
Answer:
To increase your points on brainly,all you have to do is answer as much as you can.This is the most effective method.You gain points by answering every question.You can also complete the challenges given on the brainly website to gain more points.
Explanation:
Answer:
The solution code is written in Python:
- def productDigits(n):
-
- if(n // 10 == 0 ):
- return n
- else:
- return (n%10) * productDigits(n//10)
Explanation:
Firstly we define a function named it as productDigits which takes one input parameter, n. (Line 1)
Next, we create if-else statements by setting the condition if the input n divided by 10 is equal to 0 (this means the n is only 1 digit), the program shall return the n (Line 3-4).
Otherwise, the program will return the remainder of the n divided by 10 multiplied with the output of the recursive function calling with input n//10 (Line 5-6).
Please note the usage of // is to discard the decimal point of the division result.