Skip to content

Commit f63e7cd

Browse files
committed
Start "input-output" lesson
1 parent 7b20413 commit f63e7cd

1 file changed

Lines changed: 91 additions & 0 deletions

File tree

‎lessons/input-output.html‎

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta
6+
name="viewport"
7+
content="width=device-width, initial-scale=1.0"
8+
>
9+
<title>Input & Output — PythonPath</title>
10+
<link rel="stylesheet" href="../style.css">
11+
<link rel="stylesheet" href="../lesson.css">
12+
13+
<link
14+
rel="stylesheet"
15+
href="https://cdn.jsdelivr.net/npm/prismjs@1.29.0/themes/prism-tomorrow.min.css"
16+
>
17+
18+
<script src="../script.js" defer></script>
19+
20+
</head>
21+
<body>
22+
<header>
23+
<nav>
24+
<a href="../index.html" class="logo">
25+
<img src="../assets/images/logo.png" alt="PythonPath logo">
26+
<span>PythonPath</span>
27+
</a>
28+
29+
<div>
30+
<a href="../index.html#learningPath">Learning Path</a>
31+
<a href="../index.html#projects">Projects</a>
32+
</div>
33+
</nav>
34+
</header>
35+
36+
<main>
37+
38+
<article class="lesson" data-lesson="inputOutput">
39+
40+
<header class="lessonHeader">
41+
<p class="lessonNumber">Lesson 3</p>
42+
43+
<h1>Input & Output</h1>
44+
45+
<p class="lessonDescription">
46+
Learn how to get information from the user
47+
and display results with Python.
48+
</p>
49+
</header>
50+
51+
<section class="lessonSection">
52+
<h2>What is input and output?</h2>
53+
54+
<p>
55+
Programs often need to communicate with the user.
56+
They can receive information from the user and
57+
display information back to them.
58+
</p>
59+
60+
<p>
61+
<strong>Input</strong> is information that a program
62+
receives from the user.
63+
</p>
64+
65+
<p>
66+
<strong>Output</strong> is information that a program
67+
displays to the user.
68+
</p>
69+
70+
<p>
71+
In Python, we can use <code>input()</code> to get
72+
information from the user and <code>print()</code>
73+
to display information.
74+
</p>
75+
</section>
76+
77+
</article>
78+
79+
</main>
80+
81+
<footer>
82+
<p>Python Path</p>
83+
<p>@ Designed by Vasilisa Korchagina, 2026</p>
84+
</footer>
85+
86+
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.29.0/prism.min.js"></script>
87+
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.29.0/components/prism-python.min.js"></script>
88+
89+
90+
</body>
91+
</html>

0 commit comments

Comments
 (0)