From 17d4c1513aee9e43033ece98946b38c0ad51367a Mon Sep 17 00:00:00 2001
From: Martin Mares <mj@ucw.cz>
Date: Tue, 29 Sep 2020 09:36:16 +0200
Subject: [PATCH] =?UTF-8?q?=C3=9Avod:=20Drobn=C3=A9=20=C3=BApravy,=20input?=
 =?UTF-8?q?=20s=20promptem?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 01-uvod/01-uvod.tex       | 2 +-
 01-uvod/first-comments.py | 3 +--
 01-uvod/first-input.py    | 3 +--
 TODO                      | 2 --
 4 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/01-uvod/01-uvod.tex b/01-uvod/01-uvod.tex
index eb58578..189fc84 100644
--- a/01-uvod/01-uvod.tex
+++ b/01-uvod/01-uvod.tex
@@ -7,7 +7,7 @@
 \title{Programování 1: Úvod do Pythonu}
 \author[Martin Mareš]{Martin Mareš\\\texttt{mj@ucw.cz}}
 \institute{Katedra Aplikované Matematiky\\MFF UK Praha}
-\date{2019}
+\date{2020}
 \begin{document}
 \setbeamertemplate{navigation symbols}{}
 \setbeamertemplate{footline}{}
diff --git a/01-uvod/first-comments.py b/01-uvod/first-comments.py
index 7df2b95..a31a2d1 100644
--- a/01-uvod/first-comments.py
+++ b/01-uvod/first-comments.py
@@ -1,8 +1,7 @@
 #!/usr/bin/env python3
 
 # Nejprve zjistíme, do kolika počítat
-print("Do kolika chceš počítat?")
-n = int(input())
+n = int(input("Do kolika chceš počítat? "))
 
 # Aktuální číslo
 i = 1
diff --git a/01-uvod/first-input.py b/01-uvod/first-input.py
index a781154..3f50d18 100644
--- a/01-uvod/first-input.py
+++ b/01-uvod/first-input.py
@@ -1,5 +1,4 @@
-print("Do kolika chceš počítat?")
-n = int(input())
+n = int(input("Do kolika chceš počítat? "))
 
 i = 1
 
diff --git a/TODO b/TODO
index 79c9211..ceabc8e 100644
--- a/TODO
+++ b/TODO
@@ -1,5 +1,3 @@
-- input("Prompt")
-
 - and/or vyhodnocované zkráceně
 - if jako výraz?
 - rekurze
-- 
GitLab