Untitled

 avatar
unknown
plain_text
a year ago
503 B
15
Indexable
Write a function that takes a string argument and returns true if it is a palindrome and False otherwise.
2. 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