<commit_before>{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Practice Python Excercise 1\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "- ####  Create a program that asks the user to enter their name and their age. Print out a message addressed to them that tells them the year that they will turn 100 years old.  \n",
    "\n",
    "> Extras:   \n",
    "- Add on to the previous program by asking the user for another number and printing out that many copies of the previous message. (Hint: order of operations exists in Python)  \n",
    "- Print out that many copies of the previous message on separate lines. (Hint: the string \"\\n is the same as pressing the ENTER button)\n"
   ]<commit_msg>	modified:   Excercise1.ipynb 	Added first version of the excercise<commit_after>{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Practice Python Excercise 1\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "- ####  Create a program that asks the user to enter their name and their age. Print out a message addressed to them that tells them the year that they will turn 100 years old.  \n",
    "\n",
    "> Extras:   \n",
    "- Add on to the previous program by asking the user for another number and printing out that many copies of the previous message. (Hint: order of operations exists in Python)  \n",
    "- Print out that many copies of the previous message on separate lines. (Hint: the string \"\\n is the same as pressing the ENTER button)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Enter nameVipin\n",
      "Enter age2\n",
      "Enter a number2\n",
      "You will turn 100 in 2115\n",
      "You will turn 100 in 2115\n"
     ]
    }
   ],
   "source": [
    "def main():\n",
    "    name, age = input(\"Enter name\") , int( input(\"Enter age\"))\n",
    "    for i in range( int(input(\"Enter a number\"))):\n",
    "         print(\"You will turn 100 in {}\".format(2017-age+100))\n",
    "main()\n",
    "    "
   ]
{'fraction_non_alphanumeric': 0.14444444444444443, 'fraction_numerical': 0.016, 'mean_word_length': 2.5560821484992102, 'pattern_counts': {'":': 23, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2590660', 'n_tokens_mistral': 751, 'n_tokens_neox': 713, 'n_words': 276}