From c5c7cf21600220ef44ffd814c57b9871dc5e3fe4 Mon Sep 17 00:00:00 2001 From: Hans Otto Rasmussen Date: Mon, 6 Jul 2020 15:11:34 +0200 Subject: [PATCH] =?UTF-8?q?Ikon=20tilf=C3=B8jet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- guess.desktop | 7 +++++++ icon.png | Bin 0 -> 9447 bytes main.py | 6 +++--- 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 guess.desktop create mode 100644 icon.png mode change 100644 => 100755 main.py diff --git a/guess.desktop b/guess.desktop new file mode 100644 index 0000000..49e3d6d --- /dev/null +++ b/guess.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Type=Application +Name=get et tal +Exec=/home/ho/src/guess/main.py +StartupNotify=true +Icon=/home/ho/src/guess/icon.png +Terminal=true diff --git a/icon.png b/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..557258a4081936974effd30db0db65fb43a84f2a GIT binary patch literal 9447 zcmVcXS-reeXXryI52LAi)YsBt@`_lt>jz6xA$K&59JuvaRm& zV#hv5d2V`%>{opJoSZmzWGTsc(aUjSJN9$z#Ia<#NunrGk|~M32m%Rquvc`VE_Qe3 z{c-1F?q1By?gG2m1&A-soLNk{bIW&rzu)}s@7@a&n7{-kFo6kN)G+d$fdWRlbz|o= z7h@C`JF(RAXNw@YNOR2LVj`A-TV9*dYxI0QH?J7)#FC9_rMT`+U^y@km;uxPl|V62 z1ehd~!vbPJ6u1Di0_T9Ez;0k&iszY(bCQiWVg;$8nZOOe<-lTKDR2o;4TPM{9O3gV zAmMBsz)4^)u+Q0V0?uZT=P`@%LM#LCM!5%A1uQ`jYA!+wnFu1Ou(f?qx_;+WwI`84 z5H1QF0~!%T+XB3lL0QHW#yYV~hN`)%fKMW%(_Dn4(#xrnCl?5MhK;K_HvvBdc4^mm zm2Cn!hTc#n@HJp3(1vTjNP9?bcAhuCytDy3oHFR@c&xwtV*+|5KMwp7@%ATh8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z*&r zC2pUqB$C`zTPp9Qg2HPAbs%gAVQ)nc_Lcl{3?T+=lmNFP2Fl)mh}o7BSdIHCv@%Ml zkEBtp4x{VlnStg!4Fo`;{kEo*YS&(9+C13boRuU7-@Jm}HWfxL-jtf%|}a z5S^`)aY?3!v%~0@TMvSi7Aan~i9kQ@|b0b{%4nz%+*1V_u=s*{Tb#bai4!5g#On5g{$>5hIXiBVGzQ zf<|sq<;6+<+AG*j&O#@agd~`*B8#-&AwN>OjmXb`Y^T=|04ad7TKyrkv0&hD#{*w<@6umQWI7g;?O`RgS<8;RX{H z;Yzcxvq@Fi?wp&4aJVi;5N$3(h1MXtK>Wy-E>sfrASTv0i z<(@dMAub6O$0d~4^3?^4u|zBhL)#?5B+0yfhj2#{MG@ZpPA9$j2(@`B;xm34!e>^7 zX!wYd2Dqd1<%pzSC#`0LL^_F(L~@jC6~f;nNpC7?$aLfgnE~avYCjdE9TkMJNGuhS zT+&S;NhW6=414@9ua);p!b!hS6!AG9MyS(L=U!P?Hi8I!2tp;CYl;zM3@Oi1yRXzC zaw<7hA|*(68;mJ3sTk|TlF+4?t}fNRzM0D2*3$9%qC~sSYs{KDUn^`sDv}MTS6z8*D-Y^yMlKS tWD^%7u~ekvi}E^_uD@$sN~3h}{{gijqPOZ42g?8e002ovPDHLkV1iLv3Z(!5 literal 0 HcmV?d00001 diff --git a/main.py b/main.py old mode 100644 new mode 100755 index f961822..d8a71ad --- a/main.py +++ b/main.py @@ -1,12 +1,12 @@ +#!/usr/bin/env python3 import random - while True: random.seed() - tal = random.randint(1, 100) + tal = random.randint(1, 500) brute_get = 0 while True: - y = input("get et tal mellem 1 og 100: ") + y = input("get et tal mellem 1 og 500: ") x = int(y) brute_get += 1