0
Urgent help needed in python
Im developing a pythonprogram that prints requirements for starting differnt businesses as we all know businesses are of two types either large scale or small scale so each business type(either small scale or large scale) is gonna have its different requirements so i want to have the user first of all input the business he wants to start, followed by the type (small scale or large scale) before the program now prints the requirements for the inputted business type. i dont knw how to organize into dictionar
4 ответов
+ 3
data = {"tech" : {"small" : "all requirements", "big" : "requirements"}, "shop": {"small" : "requirements shop small", "big" : "requirements"}}
print(data["shop"]["small"])
# >>"requirements shop small"
Try something like that.
+ 2
It's working https://code.sololearn.com/cnYIUJwu7m24
0
returning a syntax error pls do it in the coding ground
0
thanks cosme