Untitled

 avatar
unknown
plain_text
a year ago
556 B
5
Indexable
 A number, a, is a power of b if it is divisible by b and a/b is a power of b. Write a function that takes parameters a and b and returns True if a is a power of b. A number, a, is a power of b if it is divisible by b and a/b is a power of b. Write a function that takes parameters a and b and returns True if a is a power of b. 3. Write a function that takes a string as a parameter. Calculate the length of a string without using the Len function. Print the length concatenated with the string and aligned towards the extreme right of the output screen. 
Editor is loading...
Leave a Comment