Hoke16 commited on
Commit
6fba500
1 Parent(s): 42e1afe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,9 +1,9 @@
1
  import gradio as gr
2
  import random as rd
3
  rand = rd.randint(0,9)
4
- def guess (num) :
5
  num = int (num)
6
- if num == rand :
7
  r = 'ทายถูกเเล้ว'
8
  else :
9
  r = 'ลองกดใหม่นะ'
 
1
  import gradio as gr
2
  import random as rd
3
  rand = rd.randint(0,9)
4
+ def guess(num) :
5
  num = int (num)
6
+ if num == rand:
7
  r = 'ทายถูกเเล้ว'
8
  else :
9
  r = 'ลองกดใหม่นะ'