Help with loop in python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Help with loop in python

Hello guys, I created a board game (4by4) which has tiles using pygame and python. Now, I want to get the top left corner of each tile on the board. Does anyone know how to loop through?? Any help would be appreciated

28th Nov 2018, 6:29 AM
Abdul Kader Lougue
Abdul Kader Lougue - avatar
4 Answers
+ 5
That's great! Abdul Kader Lougue, glad to hear that. Would you kindly add [SOLVED] prefix into the question title just to notify others that it had been solved. Thanks for understanding : ) Salam ...
30th Nov 2018, 2:15 PM
Ipang
+ 6
Have you solved it yet?
30th Nov 2018, 11:36 AM
Ipang
+ 1
yes I used a nested loop to get it thank you Ipang
30th Nov 2018, 1:44 PM
Abdul Kader Lougue
Abdul Kader Lougue - avatar
+ 1
alright thank you wa salam
30th Nov 2018, 7:40 PM
Abdul Kader Lougue
Abdul Kader Lougue - avatar