Skip to content

Instantly share code, notes, and snippets.

View Abdulmateenchitrali's full-sized avatar

Abdul mateen Abdulmateenchitrali

View GitHub Profile
@wpacademy
wpacademy / learnpress-courses-grid.css
Last active October 15, 2022 15:08
LearnPress Courses widget grid for elementor.
/**********************************
* LearnPress Courses Grid
* By WP Academy.PK
**********************************/
.wpac-learnpress-grid .widget-body {
text-align: center;
display: flex;
}
.wpac-learnpress-grid .widget-body .course-entry {
text-align: center;
"""input manatees: a list of "manatees", where one manatee is represented by a dictionary
a single manatee has properties like "name", "age", et cetera
n = the number of elements in "manatees"
m = the number of properties per "manatee" (i.e. the number of keys in a manatee dictionary)"""
def example1(manatees):
for manatee in manatees:
print manatee['name']
def example2(manatees):