def rep(s, n): return s * n assert rep("ab", 2) == "abab" assert rep("a", 0) == "" print("SELF-TEST PASS")