diff --git a/1024+201711680322.ipynb b/1024+201711680322.ipynb new file mode 100644 index 00000000..f609b576 --- /dev/null +++ b/1024+201711680322.ipynb @@ -0,0 +1,55 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "37814\n" + ] + } + ], + "source": [ + "n=0\n", + "i=0\n", + "while n<=1024:\n", + " n=n+1\n", + " if n%14==0:\n", + " i=i+n\n", + "print(i)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "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.6.3" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +}