diff --git a/My_python_code.ipynb b/My_python_code.ipynb new file mode 100644 index 0000000..0338190 --- /dev/null +++ b/My_python_code.ipynb @@ -0,0 +1,107 @@ +{ + "nbformat": 4, + "nbformat_minor": 0, + "metadata": { + "colab": { + "provenance": [] + }, + "kernelspec": { + "name": "python3", + "display_name": "Python 3" + }, + "language_info": { + "name": "python" + } + }, + "cells": [ + { + "cell_type": "markdown", + "source": [ + "# Welcome to Python Script\n", + "\n", + "## Introducing the world of `print`\n" + ], + "metadata": { + "id": "4ccim-utu-tM" + } + }, + { + "cell_type": "code", + "execution_count": 1, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "RdkjOG7CuNld", + "outputId": "2264cab7-ef34-4e5d-a416-31502a4efa73" + }, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "Hello World\n" + ] + } + ], + "source": [ + "print(\"Hello World\")" + ] + }, + { + "cell_type": "code", + "source": [ + "print(\"This is my code and I am thrilled!\")" + ], + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "-zMEOidmvjRs", + "outputId": "26cd4867-9484-4b7e-efb3-b85b63d00f6a" + }, + "execution_count": 2, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "This is my code and I am thrilled!\n" + ] + } + ] + }, + { + "cell_type": "code", + "source": [ + "print(\"Next we merge python file to remote repo\")" + ], + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "ECJwZFgmvssM", + "outputId": "2b1fc037-ceea-49df-8e4d-0a704a7fd2bb" + }, + "execution_count": 3, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "Next we merge python file to remote repo\n" + ] + } + ] + }, + { + "cell_type": "code", + "source": [], + "metadata": { + "id": "68LJotgQv3wR" + }, + "execution_count": null, + "outputs": [] + } + ] +} \ No newline at end of file diff --git a/gmc_first_py_ipynb.py b/gmc_first_py_ipynb.py new file mode 100644 index 0000000..c611046 --- /dev/null +++ b/gmc_first_py_ipynb.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +"""GMC_first_py.lpynb + +Automatically generated by Colab. + +Original file is located at + https://colab.research.google.com/drive/17BWhL-nWKyng1dEb4J6gVtTQTTuCOiS6 + +# Welcome to the world of Python!** + +##We'd write our first line of code today + +# Introducing The Print Function** + +`print` is a built-in function in Python. Python is case sensitive i.e Print != print +""" + +print("Hello World") + +print("my name is victor") + +print("I'm learning about github and I am going to add my work to a repository I cloned") +