Skip to content

Commit 3977ea2

Browse files
Wojtek CichonWojtek Cichon
Wojtek Cichon
authored and
Wojtek Cichon
committed
Adding missing homework
1 parent 4a878aa commit 3977ea2

File tree

4 files changed

+57
-1
lines changed

4 files changed

+57
-1
lines changed

name_age.py

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
username = input("Give me your name: ")
2+
age = int(input("Give me your age: "))
3+
age_in_100 = age + 100
4+
print(f"{username}, in 100 years you will be {age_in_100}")
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"cells": [],
3+
"metadata": {},
4+
"nbformat": 4,
5+
"nbformat_minor": 2
6+
}

notebooks/14September2019.ipynb

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {},
6+
"source": [
7+
"# 14 September 2019"
8+
]
9+
},
10+
{
11+
"cell_type": "code",
12+
"execution_count": null,
13+
"metadata": {},
14+
"outputs": [],
15+
"source": []
16+
}
17+
],
18+
"metadata": {
19+
"kernelspec": {
20+
"display_name": "Python 3",
21+
"language": "python",
22+
"name": "python3"
23+
},
24+
"language_info": {
25+
"codemirror_mode": {
26+
"name": "ipython",
27+
"version": 3
28+
},
29+
"file_extension": ".py",
30+
"mimetype": "text/x-python",
31+
"name": "python",
32+
"nbconvert_exporter": "python",
33+
"pygments_lexer": "ipython3",
34+
"version": "3.7.4"
35+
}
36+
},
37+
"nbformat": 4,
38+
"nbformat_minor": 2
39+
}

notebooks/8September2019.ipynb

+8-1
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,16 @@
227227
"- `x = 4 print(\"My {x} in a sentence\".format(x))`\n",
228228
"- Statically typed VS dynamically typed\n",
229229
"- [How to write docstrings?](https://www.python.org/dev/peps/pep-0257/)\n",
230-
"- Jurek prześle\n",
230+
"- Jurek prześle\n",
231231
"\n"
232232
]
233+
},
234+
{
235+
"cell_type": "code",
236+
"execution_count": null,
237+
"metadata": {},
238+
"outputs": [],
239+
"source": []
233240
}
234241
],
235242
"metadata": {

0 commit comments

Comments
 (0)