Skip to content

Instantly share code, notes, and snippets.

@popey456963
Created October 26, 2015 15:24
Show Gist options
  • Save popey456963/a8c62c7a27983d82dfe3 to your computer and use it in GitHub Desktop.
Save popey456963/a8c62c7a27983d82dfe3 to your computer and use it in GitHub Desktop.
More Sequences
a, b = [int(i) for i in input().split()]
n = int(input())
for i in range(n):
x = int(input())
print(x*a+b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment