You are on page 1of 2

{

"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"provenance": []
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
},
"language_info": {
"name": "python"
}
},
"cells": [
{
"cell_type": "code",
"execution_count": 10,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "WkfzJaheUYR0",
"outputId": "b5bf4f85-2efc-473a-f611-4d408925746e"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"2+3\n"
]
}
],
"source": [
"print (\"2+3\")"
]
},
{
"cell_type": "markdown",
"source": [
"Karena 2+3 ditulis apa adanya sebagai sebuah teks dalam tanda petik
(string) tidak ada bilangan Dan tidak ada operasi penjumlahan."
],
"metadata": {
"id": "7-5WHlyyXFea"
}
},
{
"cell_type": "code",
"source": [
"print (2+3)"
],
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "C-eBi2axXd3h",
"outputId": "e26d5b3d-41df-49e4-fa34-c35eb6d5a74f"
},
"execution_count": 11,
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"5\n"
]
}
]
},
{
"cell_type": "markdown",
"source": [
"Karena 2+3=5"
],
"metadata": {
"id": "Nil2y2GBXh8Z"
}
},
{
"cell_type": "code",
"source": [
"print (\"2\"+\"3\")"
],
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "kYyuwPDcXvDe",
"outputId": "3c4269b2-2bfc-4052-b9ae-d5c2f9c9f126"
},
"execution_count": 12,
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"23\n"
]
}
]
},
{
"cell_type": "markdown",
"source": [
"Karena 2&3 dengan"
],
"metadata": {
"id": "iTfdfilLX4wd"
}
}
]
}

You might also like