What is the value of g(728) for the function below?

Join Our WhatsApp Group Join Now
Join Us On Telegram Join Now

1. What is the value of g(728) for the function below?

def g(y):
    b = 0
    while y >= 3:
        (y,b) = (y/3,b+1)
    return(b)
Answer :-  5

All Answers are uploaded on this site : Click Here

2. What is f(90)-f(89), given the definition of f below?

def f(n):
    s = 0
    for i in range(2,n):
        if n%i == 0 and i%2 == 1:
            s = s+1
    return(s)
Course NameEthical Hacking
CategoryNPTEL Assignment Answer
Home Click Here
Join Us on TelegramClick Here

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top