Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = int(input())
- b = int(input())
- c = int(input())
- d = int(input())
- result = ''
- for i in range(a - 1, b + 1):
- if i != a - 1:
- result += str(i)
- for j in range(c, d + 1):
- if i == a - 1:
- result += '\t' + str(j)
- else:
- result += '\t' + str(j * i)
- result += '\n'
- print(result)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement