|
483 | 483 | "id": "116cf3f9-74fa-46fe-a06c-ee5cec0a4b9b",
|
484 | 484 | "metadata": {},
|
485 | 485 | "source": [
|
486 |
| - "1. " |
| 486 | + "1. The following code needs the correct operator to replace the **BLANK** in the code to output True - what replaces the **BLANK**?" |
487 | 487 | ]
|
488 | 488 | },
|
| 489 | + { |
| 490 | + "cell_type": "code", |
| 491 | + "execution_count": null, |
| 492 | + "id": "a827cfbe-7726-4a42-bb38-0468a752b998", |
| 493 | + "metadata": {}, |
| 494 | + "outputs": [], |
| 495 | + "source": [ |
| 496 | + "atomic_no_of_nitrogen = 7\n", |
| 497 | + "atomic_no_of_fluorine = 9" |
| 498 | + ] |
| 499 | + }, |
| 500 | + { |
| 501 | + "cell_type": "code", |
| 502 | + "execution_count": null, |
| 503 | + "id": "81dd9a93-9296-4da8-be41-3f4fc6989d56", |
| 504 | + "metadata": {}, |
| 505 | + "outputs": [], |
| 506 | + "source": [ |
| 507 | + "atomic_no_of_nitrogen BLANK atomic_no_of_fluorine" |
| 508 | + ] |
| 509 | + }, |
| 510 | + { |
| 511 | + "cell_type": "code", |
| 512 | + "execution_count": null, |
| 513 | + "id": "b3f749e9-674c-428c-8eeb-df549473ebae", |
| 514 | + "metadata": {}, |
| 515 | + "outputs": [], |
| 516 | + "source": [ |
| 517 | + "### ANSWER: <, <= or != all work\n", |
| 518 | + "atomic_no_of_nitrogen < atomic_no_of_fluorine" |
| 519 | + ] |
| 520 | + }, |
| 521 | + { |
| 522 | + "cell_type": "markdown", |
| 523 | + "id": "5ccf3004-bb13-465f-90b9-a6c871c09f72", |
| 524 | + "metadata": {}, |
| 525 | + "source": [ |
| 526 | + "2. The following code gives an output that doesn't match chemical intuition, can you fix it so that it will output a correct statement?" |
| 527 | + ] |
| 528 | + }, |
| 529 | + { |
| 530 | + "cell_type": "code", |
| 531 | + "execution_count": null, |
| 532 | + "id": "768b30a4-d3f7-4abd-97ae-6a27bcfcb9b7", |
| 533 | + "metadata": {}, |
| 534 | + "outputs": [], |
| 535 | + "source": [] |
| 536 | + }, |
489 | 537 | {
|
490 | 538 | "cell_type": "markdown",
|
491 | 539 | "id": "120f98bf-03ef-49b8-8338-6081411d2b10",
|
|
0 commit comments