Minor Project
Minor Project
Minor Project
2. Accept 5 string values from user and store them as part of tuple. Print
the elements of tuple with their indices.
3. Create a Data Frame by passing a NumPy array, with a Date Time index
and labelled columns.
4. Create a one-dimensional array filled with random numbers. Write a
function that prints out the maximum and minimum values from the
array.
5. Write a function that accepts a one-dimensional array as input and
another number. The function should return the array containing all
the elements which are greater than the number given as input to the
function. Explore the functions in built-in module calendar.
6. Write a program that asks user to enter the 5 product names and
prices. Store all of these in a dictionary with keys are product names
and prices are values. Then allow the user to input the product name
and print the corresponding price of the product.