Spaces:
Sleeping
Sleeping
Commit
·
6ba792b
1
Parent(s):
143b687
Update app.py
Browse files
app.py
CHANGED
@@ -204,14 +204,14 @@ def main():
|
|
204 |
solve(grid)
|
205 |
|
206 |
# Display the solution or appropriate message
|
207 |
-
|
208 |
-
|
209 |
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
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()
|