Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run time error #39

Open
s170451 opened this issue Dec 12, 2022 · 1 comment
Open

Run time error #39

s170451 opened this issue Dec 12, 2022 · 1 comment

Comments

@s170451
Copy link

s170451 commented Dec 12, 2022

Traceback (most recent call last):
File "Solution.py", line 4, in
NameError: name 'raw_input' is not defined

@chdry128
Copy link

from itertools import product
A = input().split()
A = list(map(int,A))
B = input().split()
B = list(map(int, B))
output = list(product(A,B))
for i in output:
print(i, end = " ");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants