Reputation: 25
I'm trying to run the code:
n, k = input().split()
dk = 0
for i in int(n):
j = int(input())
if j % int(k) == 0:
dk += 1
print(dk)
But sublime REPL is giving this output:
tab 1 of window id 684
[Finished in 192ms]
I'm using the build system:
{
"shell_cmd": "osascript -e 'tell app \"Terminal\" to do script \"cd $file_path && python3 -u $file\"'",
"working_dir": "$file_path",
"selector": "source.python",
"env": {"PYTHONIOENCODING": "utf-8"}
}
Can anyone help me out?
Upvotes: 0
Views: 82