🌟🌟🌟🌟🌟itled

Run Settings
LanguagePython
Language Version
Run Command
def main(a): pis = a[2]-1 for i in range (a[1]): if pis == a[0]: pis = 0 pis+=1 print(pis) if __name__ == "__main__": n = int(input()) for i in range (n): main(list(map(int,input().split(" "))))
Editor Settings
Theme
Key bindings
Full width
Lines