Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

If I want to print 3 lines of dict (a) by changing using new_sku, new_model_no, rec_no how to do this in python programming. show output

image text in transcribed

If I want to print 3 lines of dict (a) by changing using new_sku, new_model_no, rec_no how to do this in python programming. show output and please use loops in program

In [123]: a = { MODEL ID': 6, "MODEL_NAME': 'device_rec', MODEL RUN TS': '20210910 00:00:00', 'VALIDITY TS': '20220310 00:00:00', "SERVICE_NUMBER":9, 'OUTPUT":[{ 'rec_sku':67, 'model no':10},{'rec_no':50}]} In [124]: a Out[124]: {"MODEL_ID': 6, "MODEL_NAME': 'device rec), MODEL RUN TS': '20210910 00:00:00', 'VALIDITY TS': 20220310 00:00:00', SERVICE NUMBER': 9, 'OUTPUT': [{'rec_sku': 67, 'model_no': 10}, {'rec_no': 50}]} In [125]: new_sku=[56,47,29,30] new_model_no=[11,34,54] I rec_no=[70,90,44]

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

Handbook Of Relational Database Design

Authors: Candace C. Fleming, Barbara Von Halle

1st Edition

0201114348, 978-0201114348

More Books

Students also viewed these Databases questions

Question

Describe the capabilities of online analytical processing (OLAP).

Answered: 1 week ago

Question

How would you assess the value of an approach like this?

Answered: 1 week ago

Question

When would you use one approach, and when would you use another?

Answered: 1 week ago

Question

3. How would this philosophy fit in your organization?

Answered: 1 week ago