Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Tackle creating the grid.
Accomplished in this Video
- Created the grid using 2 methods
-
create_row
- found all of the cards in the given row
- added either spaces or the word to the row to show which ones have been matched
-
create_grid
- created the header
- used the row method to create all 4 rows and print them out to the console
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Angelus Miculek
6,979 Points2 Answers
-
PLUS
Enes artun
Courses Plus Student 2,364 Points1 Answer
-
Setiawan Angga
606 Points1 Answer
-
Setiawan Angga
606 Points2 Answers
-
Ava Jones
10,767 Points2 Answers
-
Gunter Ostendorp
1,740 Points1 Answer
-
Kylie Nonemaker
1,190 Points1 Answer
-
Amber White
Full Stack JavaScript Techdegree Student 9,173 Points1 Answer
-
Henry Williams
2,889 Points2 Answers
-
kamal diriye
1,597 Pointsfor card in self.cards: if card.location == f'{column}{num}': if card.matched:
Posted by kamal diriyekamal diriye
1,597 Points2 Answers
-
PLUS
diginoma
Courses Plus Student 8,009 Points1 Answer
-
Casper Rasmussen
2,093 Points3 Answers
-
Devin Hight
3,141 Points1 Answer
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up