Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using Anaconda Jupyter notebook, write the Python script and execute, save and upload the below programs in eLearning. a. (1 Mark) Write a Python program

image text in transcribed
Using Anaconda Jupyter notebook, write the Python script and execute, save and upload the below programs in eLearning. a. (1 Mark) Write a Python program to do the below task. Create a tuple and set with the following price values: 77, 1200, 70, 50, 77, 50, 90, 85 b. Create a dictionary with the following items: {"a":120,"6": 1200, "e": 80,"d": 70) Display the last element of the tuple. d. Display the position of first occurrence of element 50 in tuple. Count how many elements has a value 77 in tuple. f. Display in a tabular format all the prices multiplied to 0.25 g. Display the highest value in the set. h. Display in a tabular format only the keys of dictionary. c. e. (1 Mark) (1 Mark) (1 Mark) (1 Mark) (2 Marks) (1 Mark) (2 Marks)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Time Series Databases New Ways To Store And Access Data

Authors: Ted Dunning, Ellen Friedman

1st Edition

1491914726, 978-1491914724

More Books

Students also viewed these Databases questions

Question

=+ (b) Show that log2 n + log2 log, log, n is an inner boundary.

Answered: 1 week ago

Question

Describe new developments in the design of pay structures. page 475

Answered: 1 week ago