Commit 0f6cec9d authored by alan's avatar alan

V02

parent 40543991
......@@ -1096,10 +1096,46 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 28,
"metadata": {},
"outputs": [],
"source": []
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"la frase \n",
"\n",
"a\n",
"\n",
"No es un panagrama\n"
]
}
],
"source": [
"tex = input(\"la frase \"'\\n' '\\n')\n",
"\n",
"abecedario = list (\"abcdefghijklmnopqrstuvwxyz\")\n",
"\n",
"frase = tex.lower()\n",
"\n",
"i = 0\n",
"\n",
"while i < len (abecedario) :\n",
"\n",
" if abecedario[i] in frase :\n",
" abecedario.pop(i)\n",
" \n",
" else :\n",
" \n",
" i = len(abecedario)\n",
"if len(abecedario) != 0 :\n",
"\n",
" print ('\\n' \"No es un panagrama\")\n",
"\n",
"else :\n",
" \n",
" print (\"Es un panagrama\")"
]
},
{
"cell_type": "markdown",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment