This is the code:
for(int i=1; i<=10; ++i)
for(int j=1; j<=10; ++j)
cin >> G[i][j];
This is a two dimension array G, and I want to store the data from G[1][1], not from zero.
How to implement this code in python?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
random.randintwas used in place ofinput()orraw_input()to show that this works.