DAY 11 -Feb 22 -Friday

Title : FLASK PROGRAM

Learned:

1. simple flask program - import a flask, create an endpoint(app = Flask(name)), create a def function, and return a value you want, run this flask program if name == "main": app. run() use this code. how to debug the value, debug = True(use this code in the app. run(debug = True)).how to get input from the user eg 50000/?name = ram and add method (a+b).

2. get user value without the use of /?(request parameter) instead of / and create a small database (dictionary)

3. Create a template inside a template create an index.html (use div function), and make a basic HTML and CSS code for this program so it looks like a professional

Hours spent: 12.5hrs

Last updated