dk-davidekim commited on
Commit
912d41a
โ€ข
1 Parent(s): 52da291

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -3
app.py CHANGED
@@ -84,9 +84,12 @@ def mind(input_letter):
84
 
85
  # print(res_l)
86
 
87
- # ๊ฒฐ๊ณผ๋ฌผ list์—์„œ ํ•œ ์ค„์”ฉ ์ถœ๋ ฅ
 
88
  for letter, res in zip(input_letter, res_l):
89
- return(f"{letter} :", res)
 
 
90
 
91
  ###
92
 
@@ -164,7 +167,9 @@ with row2_2:
164
  st.write("nํ–‰์‹œ ๋‹จ์–ด : ", word_input)
165
 
166
  if st.button('nํ–‰์‹œ ์ œ์ž‘ํ•˜๊ธฐ'):
167
- st.write(mind(word_input))
 
 
168
 
169
 
170
 
 
84
 
85
  # print(res_l)
86
 
87
+ dictionary = {}
88
+
89
  for letter, res in zip(input_letter, res_l):
90
+ dictionary[letter] = res
91
+
92
+ return dictionary
93
 
94
  ###
95
 
 
167
  st.write("nํ–‰์‹œ ๋‹จ์–ด : ", word_input)
168
 
169
  if st.button('nํ–‰์‹œ ์ œ์ž‘ํ•˜๊ธฐ'):
170
+ result = mind(word_input)
171
+ for r in result:
172
+ st.write(r)
173
 
174
 
175