Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I want a cod(Writing) please fast answers Q2 Write a program to generate a dictionary that contains (i, i*i) such that is an integral number

I want a cod(Writing) please fast answers
image text in transcribed
Q2 Write a program to generate a dictionary that contains (i, i*i) such that is an integral number between 1 and n (both included). and then the program should print the dictionary. Input: 8 Then, the output should be: {1:1, 2:4, 3:9.4: 16, 5:25, 6:36, 7:49.8: 64}

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

1 2 3 Data Base Techniques

Authors: Dick Andersen

1st Edition

0880223464, 978-0880223461

More Books

Students also viewed these Databases questions

Question

How does language influence the development of stereotyping?

Answered: 1 week ago

Question

f. Did they change their names? For what reasons?

Answered: 1 week ago