Now with working validation and correction feedback

This commit is contained in:
GotthardG
2024-11-08 11:44:14 +01:00
parent 1fa61f0e78
commit dbebfd6d5a
3 changed files with 32 additions and 13 deletions

View File

@@ -0,0 +1,12 @@
class RowStorage:
def __init__(self):
self.data = {}
def get_row(self, row_num):
return self.data.get(row_num, {})
def set_row(self, row_num, row_data):
self.data[row_num] = row_data
row_storage = RowStorage() # Singleton instance for storing row data