Open Source Your Knowledge, Become a Contributor
Technology knowledge has to be shared and made accessible for free. Join the movement.
Universe
Given a list of stars in the galaxies, count the number of stars in the universe.
Luke, how many stars are there in these galaxies?
1
2
3
def count_all_stars(galaxies: list[int]) -> int:
return 0
Enter to Rename, Shift+Enter to Preview
Palindrome
For instance 11 is a palindrome, but 12 is not.
Are theses numbers palindromes?
1
2
3
4
def is_int_palindrome(number: int) -> bool:
return True
Enter to Rename, Shift+Enter to Preview
Anagram
For instance "listen" is an anagram of "silent".
What is the anagram of these sentences?
1
2
3
4
def is_anagram(word1: str, word2: str) -> bool:
return False
Enter to Rename, Shift+Enter to Preview
Open Source Your Knowledge: become a Contributor and help others learn. Create New Content