28 Sep PMCA Saturday 18:30 Python Homework 21.09.25.
Question:
Create a new flask application which has the below routes
- Add route GET /divide wherein take the two numbers and return the division of those two numbers. If the number entered in the get parameters are not number, return a message saying “Invalid input”
- Add route GET /random return a list containing 10 random numbers. Make sure at each request the numbers that are returned are random
Sorry, the comment form is closed at this time.