+ 1
Can we make a school report card by lists in python?? I mean how to make row and column
Strength of list
6 Answers
+ 2
+ 2
Yes but you can use something like pandas DataFrame method to do what you want, easily
https://www.geeksforgeeks.org/JUMP_LINK__&&__python__&&__JUMP_LINK-pandas-dataframe/
+ 2
Thnx bro
+ 2
Dictionary is suitable for storing data for such stuffs:
dict = { Roll No : [ "Name", "Class" ... ] }
For the output (in IDLE) you can use string formatting to make it look like table:
print ( f"{ Name : < 10} | { Class : < 5 } | ..." )
+ 2
Thanks peter
0
in ideal way:
1.You should store data in sql db, not in lists
2. want to show them in table
better use tkinter: listbox