From 8eb4eda41870a6a28361139cba547f3b8b270750 Mon Sep 17 00:00:00 2001 From: ff0082 <79149055+ff0082@users.noreply.github.com> Date: Tue, 16 Feb 2021 15:01:57 +0100 Subject: [PATCH] zmenil som iba font pokazil som ti program haha --- bonusova_uloha.py | 4 ++-- spokojnost.txt | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 spokojnost.txt diff --git a/bonusova_uloha.py b/bonusova_uloha.py index 853c349..ae3cb05 100644 --- a/bonusova_uloha.py +++ b/bonusova_uloha.py @@ -1,6 +1,6 @@ import tkinter as tk import time -c = tk.Canvas(bg="grey", width=500, height=400) +c = tk.Canvas(bg="grey", width=600, height=400) c.pack() file = open("spokojnost.txt", "w").close() @@ -13,7 +13,7 @@ def draw(rect_color0="yellow", rect_color1="yellow"): c.create_text(100, 300, text="ano:)", font="arial 20") c.create_rectangle(350, 280, 450, 320, fill=rect_color1) - c.create_text(400, 300, text="nie:(", font="arial 20") + c.create_text(400, 300, text="nie:(", font="arial 15") c.update() diff --git a/spokojnost.txt b/spokojnost.txt new file mode 100644 index 0000000..ab0bc54 --- /dev/null +++ b/spokojnost.txt @@ -0,0 +1,6 @@ +nie +nie +nie +ano +ano +ano