logo

Crowdly

Browser

Додати до Chrome

 The following recursive Python function is intended to accept a positive deci...

✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.

 The following recursive Python function is intended to accept a positive decimal number as the input and return the number of digits in the input number.

 

def MyFun(num):    

    if num == 0:       

       .......(A).......    

    else:       

       .......(B).......

 

What will be the most suitable parts to fill the blanks A and B, respectively, so that the code will work correctly?

Більше питань подібних до цього

Хочете миттєвий доступ до всіх перевірених відповідей на online.uom.lk?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!

Browser

Додати до Chrome