Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 . Write a fake _ create _ initial _ network _ list function, that creates list dict with 1 0 0 0 random IPs.

1. Write a fake_create_initial_network_list function, that creates list dict with 1000 random IPs.
2. Write a ip_in_network_list function, that takes a network list and an IP, and returns the IP if it was found in th e last. Return "Not found" if name doesn't exist import random
def fake_create_initial_network_list():

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

Fundamentals Of Database System

Authors: Elmasri Ramez And Navathe Shamkant

7th Edition

978-9332582705

Students also viewed these Databases questions