|
354 | 354 | " <strong>תרגול</strong>:\n", |
355 | 355 | " כתבו פונקציה שמקבלת רשימה, ומחזירה רשימה עם סדר איברים הפוך.<br>\n", |
356 | 356 | " השתמשו בפעולה <code>pop</code>.<br>\n", |
357 | | - " לדוגמה: אם תועבר לפונקציה הרשימה <code>[3, 2, 1]</code>, הפונקציה תחזיר <code>[1, 2, 3]</code>.\n", |
| 357 | + " לדוגמה: אם תועבר לפונקציה הרשימה <code dir=\"ltr\" style=\"direction: ltr\">[3, 2, 1]</code>, הפונקציה תחזיר <code dir=\"ltr\" style=\"direction: ltr\">[1, 2, 3]</code>.\n", |
358 | 358 | " </p>\n", |
359 | 359 | " </div>\n", |
360 | 360 | "</div>" |
|
441 | 441 | " <p style=\"text-align: right; direction: rtl; float: right; clear: both;\">\n", |
442 | 442 | " <strong>תרגול</strong>:\n", |
443 | 443 | " כתבו פונקציה שמקבלת רשימה, ומחזירה רשימה המכילה את הרשימה המקורית, ומיד אחריה את אותה רשימה בסדר הפוך.<br>\n", |
444 | | - " לדוגמה: עבור הרשימה <code>[1, 2, 3]</code> תוחזר הרשימה: <code>[1, 2, 3, 3, 2, 1]</code>\n", |
| 444 | + " לדוגמה: עבור הרשימה <code dir=\"ltr\" style=\"direction: ltr\">[1, 2, 3]</code> תוחזר הרשימה: <code dir=\"ltr\" style=\"direction: ltr\">[1, 2, 3, 3, 2, 1]</code>\n", |
445 | 445 | " </p>\n", |
446 | 446 | " </div>\n", |
447 | 447 | "</div>" |
|
579 | 579 | " <p style=\"text-align: right; direction: rtl; float: right; clear: both;\">\n", |
580 | 580 | " <strong>תרגול</strong>:\n", |
581 | 581 | " קבלו פונקציה שמקבלת רשימה של חיות, ומחזירה רשימה ללא מופעים של החיות camel, rabbit או pig.<br>\n", |
582 | | - " לדוגמה, עבור הרשימה: <code>['camel', 'camel', 'dove', 'pig', 'camel']</code> תוחזר הרשימה: <code>['dove']</code>\n", |
| 582 | + " לדוגמה, עבור הרשימה: <code dir=\"ltr\" style=\"direction: ltr\">['camel', 'camel', 'dove', 'pig', 'camel']</code> תוחזר הרשימה: <code dir=\"ltr\" style=\"direction: ltr\">['dove']</code>\n", |
583 | 583 | " </p>\n", |
584 | 584 | " </div>\n", |
585 | 585 | "</div>" |
|
0 commit comments