Skip to content

Instantly share code, notes, and snippets.

@ajtazer
Last active May 12, 2023 12:43
Show Gist options
  • Save ajtazer/07f78a9499873ed2a95dc1f9c3267cbc to your computer and use it in GitHub Desktop.
Save ajtazer/07f78a9499873ed2a95dc1f9c3267cbc to your computer and use it in GitHub Desktop.
JeeRankCalc.ipynb
Display the source blob
Display the rendered blob
Raw
{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"name": "JeeRankCalc.ipynb",
"provenance": [],
"collapsed_sections": [],
"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/gist/ajtazer/07f78a9499873ed2a95dc1f9c3267cbc/jeerankcalc.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "ffpaEzajiPvg"
},
"source": [
"#**JEE RANK Calculator**\n",
"#*By TAZER*\n",
"\n",
"For February , March (2021)\n",
"\n",
"and Other Custom Shifts Rank\n",
"\n"
]
},
{
"cell_type": "code",
"metadata": {
"id": "J62tOKclg9Y4"
},
"source": [
"score=float(input('Enter Your JEE Score: '))\n",
"session=int(input('Choose The Session:- \\n (1)February \\n (2)March \\n (3)July \\n (4)August \\n'))\n",
"if session==1:\n",
" rank=int(620978-(6209.78*score))\n",
" print('Your Rank for February Session is',rank)\n",
"elif session==2:\n",
" rank=int(556248-(5562.48*score))\n",
" print('Your Rank for March Session is',rank)\n",
"elif session==3:\n",
" rank=int(709000-(7090.00*score))\n",
" print('Your Rank for July Session is',rank)\n",
"else:\n",
" rank=int(732000-(7320.00*score))\n",
" print('Your Rank for August Session is',rank)\n",
"\n",
"\n",
"#Author: TAZER\n",
"#Super Simple Code\n",
"#Wrote at 2:39 AM IST"
],
"execution_count": null,
"outputs": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment