{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 14,
   "id": "c94872ea",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "enter word:himaja\n",
      "ajamih\n"
     ]
    }
   ],
   "source": [
    "'''\n",
    "Write a Python program that accepts a word from the user and reverse it.\n",
    "Sample Test Case\n",
    "Input : Edyoda\n",
    "output: adoydE\n",
    "\n",
    "'''\n",
    "str =input(\"enter word:\")\n",
    "reversed_string=\"\"\n",
    "print(str[::-1])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "060f020f",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.10.0"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
