|
193 | 193 | "</p>\n", |
194 | 194 | "\n", |
195 | 195 | "<code><span style='background-color: #3C6478; color: white;'>if</span> <span style='background-color: #B5C689; color: white; font-family: Arial;'>התנאי שלכם, ביטוי בוליאני</span><span style='background-color: #F58B4C'>:</span>\n", |
196 | | - "<span style='background-color: #CD594A'> </span><span dir=\"rtl\" style='direction: rtl; background-color: #43ABC9; color: white; font-family: Arial'>מה שאתם רוצים לעשות (גוף התנאי)</span>\n", |
197 | | - "</code>\n", |
| 196 | + "<span style='background-color: #CD594A'> </span><span dir=\"rtl\" style='direction: rtl; background-color: #43ABC9; color: white; font-family: Arial'>מה שאתם רוצים לעשות (גוף התנאי)</span></code>\n", |
198 | 197 | "\n", |
199 | 198 | "<p style=\"text-align: right; direction: rtl; clear: both;\">\n", |
200 | 199 | "נסביר:\n", |
|
306 | 305 | "\n", |
307 | 306 | "<p style=\"text-align: right; direction: rtl;\">\n", |
308 | 307 | "עכשיו רק נשאר להתייחס למשתנה שהגדרנו למעלה, ולבדוק האם למשתמש מותר להכנס או לא. ולהדפיס הודעה מתאימה יופי!\n", |
309 | | - "</p>\n", |
310 | | - "\n", |
311 | | - "<p style=\"text-align: right; direction: rtl;\">\n", |
312 | | - "<strong>תרגול</strong>: נסו לשנות את הקוד שלמעלה, כך שהוא ישאל האם זה יום ההולדת של המשתמש רק אם הוא בן 17. בדקו שהקוד עדיין עובד כמצופה.\n", |
313 | 308 | "</p>" |
314 | 309 | ] |
315 | 310 | }, |
| 311 | + { |
| 312 | + "cell_type": "markdown", |
| 313 | + "metadata": {}, |
| 314 | + "source": [ |
| 315 | + "<div class=\"align-center\" style=\"display: flex; text-align: right; direction: rtl;\">\n", |
| 316 | + " <div style=\"display: flex; width: 10%; float: right; \">\n", |
| 317 | + " <img src=\"images/exercise.svg\" style=\"height: 50px !important;\" alt=\"תרגול\"> \n", |
| 318 | + " </div>\n", |
| 319 | + " <div style=\"width: 90%\">\n", |
| 320 | + " <p style=\"text-align: right; direction: rtl; float: right;\">\n", |
| 321 | + " <strong>תרגול</strong>:\n", |
| 322 | + " נסו לשנות את הקוד שלמעלה, כך שהוא ישאל האם זה יום ההולדת של המשתמש רק אם הוא בן 17.<br>\n", |
| 323 | + " בדקו שהקוד עדיין עובד כמצופה.\n", |
| 324 | + " </p>\n", |
| 325 | + " </div>\n", |
| 326 | + "</div>" |
| 327 | + ] |
| 328 | + }, |
316 | 329 | { |
317 | 330 | "cell_type": "markdown", |
318 | 331 | "metadata": {}, |
|
0 commit comments