Skip to content

Commit

Permalink
Created using Colaboratory
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafia-Shaikh-eng committed Jul 18, 2023
1 parent bf74878 commit b906344
Showing 1 changed file with 292 additions and 0 deletions.
292 changes: 292 additions & 0 deletions Lab_01_20SW001.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,292 @@
{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"provenance": [],
"authorship_tag": "ABX9TyOsa6aPu5f6S0KLrf0qPkil",
"include_colab_link": true
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
},
"language_info": {
"name": "python"
}
},
"cells": [
{
"cell_type": "markdown",
"metadata": {
"id": "view-in-github",
"colab_type": "text"
},
"source": [
"<a href=\"https://colab.research.google.com/github/Rafia-Shaikh-eng/Data-science/blob/master/Lab_01_20SW001.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
]
},
{
"cell_type": "markdown",
"source": [
"# Lab-01 - Data Types and Operators\n",
"# RollNo\n",
"# Section"
],
"metadata": {
"id": "Vwxn4y2L6Bkv"
}
},
{
"cell_type": "markdown",
"source": [
"## Task-01\n"
],
"metadata": {
"id": "JixaXaXR6QLW"
}
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "jbgf_RbL16US",
"outputId": "5e304752-d961-4b03-9954-dfd377d51853"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"20\n"
]
}
],
"source": [
"print(2+3*6)"
]
},
{
"cell_type": "code",
"source": [
"print(\"2+3*6\")"
],
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "6Gkw1bmc2b0Q",
"outputId": "89863555-7274-46ed-aa89-982c6f1f7eb4"
},
"execution_count": 2,
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"2+3*6\n"
]
}
]
},
{
"cell_type": "markdown",
"source": [],
"metadata": {
"id": "_n-11YN55-Sg"
}
},
{
"cell_type": "code",
"source": [
"print(5<3)"
],
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "vH7gkCUO2eZz",
"outputId": "a7daa493-5134-4bb6-aedd-a3c93c38fbf2"
},
"execution_count": 3,
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"False\n"
]
}
]
},
{
"cell_type": "code",
"source": [
"2!=2"
],
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "_LxEsXy-29cA",
"outputId": "2e09553a-188e-4bdc-e561-2190a34b7f96"
},
"execution_count": 4,
"outputs": [
{
"output_type": "execute_result",
"data": {
"text/plain": [
"False"
]
},
"metadata": {},
"execution_count": 4
}
]
},
{
"cell_type": "code",
"source": [
"2==2"
],
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "9FH8Tbp12-9b",
"outputId": "b4aaf56b-85a8-43e5-8d57-c9b30eda19eb"
},
"execution_count": 5,
"outputs": [
{
"output_type": "execute_result",
"data": {
"text/plain": [
"True"
]
},
"metadata": {},
"execution_count": 5
}
]
},
{
"cell_type": "code",
"source": [
"print('hello')"
],
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "Hx57yOrY3Bep",
"outputId": "b5e58a36-568b-4dc0-dd81-7273d4dd3f6c"
},
"execution_count": 6,
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"hello\n"
]
}
]
},
{
"cell_type": "code",
"source": [
"v='java'"
],
"metadata": {
"id": "3ViwbQp23dDR"
},
"execution_count": 7,
"outputs": []
},
{
"cell_type": "code",
"source": [
"v2=\"python\""
],
"metadata": {
"id": "PZ5HGwza3elc"
},
"execution_count": 8,
"outputs": []
},
{
"cell_type": "code",
"source": [
"v"
],
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 35
},
"id": "0D6nCNQZ3gBP",
"outputId": "8b9ded8d-1f63-46a4-9523-466408cc0ef4"
},
"execution_count": 9,
"outputs": [
{
"output_type": "execute_result",
"data": {
"text/plain": [
"'java'"
],
"application/vnd.google.colaboratory.intrinsic+json": {
"type": "string"
}
},
"metadata": {},
"execution_count": 9
}
]
},
{
"cell_type": "code",
"source": [
"v2"
],
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 35
},
"id": "EeSz7ULq3gt2",
"outputId": "29ce999d-5b6f-4fad-ad7d-dc672bf8ccd1"
},
"execution_count": 10,
"outputs": [
{
"output_type": "execute_result",
"data": {
"text/plain": [
"'python'"
],
"application/vnd.google.colaboratory.intrinsic+json": {
"type": "string"
}
},
"metadata": {},
"execution_count": 10
}
]
},
{
"cell_type": "code",
"source": [],
"metadata": {
"id": "IYM9jWA13hBl"
},
"execution_count": null,
"outputs": []
}
]
}

0 comments on commit b906344

Please sign in to comment.