gurwindersingh commited on
Commit
6ba792b
·
1 Parent(s): 143b687

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -204,14 +204,14 @@ def main():
204
  solve(grid)
205
 
206
  # Display the solution or appropriate message
207
- with col2:
208
- if solve(grid):
209
 
210
- st.subheader("Sudoku Solved:")
211
- st.table(grid)
212
-
213
- else:
214
- st.write("No solution found.")
215
 
216
  if __name__ == '__main__':
217
  main()
 
204
  solve(grid)
205
 
206
  # Display the solution or appropriate message
207
+
208
+ if solve(grid):
209
 
210
+ col2.subheader("Sudoku Solved:")
211
+ col2.table(grid)
212
+
213
+ else:
214
+ st.write("No solution found.")
215
 
216
  if __name__ == '__main__':
217
  main()