We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Simple solution:
Find how many a's in s and multiply it by how many times s repeats so that s.
Find how many a's in the leftover of the division and add it.
Say "Hello, World!" With Python
You are viewing a single comment's thread. Return to all comments →
Simple solution: Find how many a's in s and multiply it by how many times s repeats so that s. Find how many a's in the leftover of the division and add it.