Write a flask code snippet to perform the following tasks: 1. Perform simple math: For example, if
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a flask code snippet to perform the following tasks:
1. Perform simple math: For example, if a user visits the URL /sub/5/1 the application should compute 5-1 and display 5+1=4
2. Generate an array: if a user visits the URL /array/10 the application should prompt user to enter 10 values with a comma after value, stores them in the array, sorts it and displays it.
Related Book For
Quantitative Analysis for Management
ISBN: 978-0133507331
12th edition
Authors: Barry Render, Ralph M. Stair, Michael E. Hanna, Trevor S. Ha
Posted Date: