1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Anika [276]
3 years ago
12

Write a program that will generate 100 integers between 0 and 1000. Store the even numbers in a sorted linked list called evens.

Store the odd numbers in a different sorted linked list called odds. Print the content of the evens and odds linked lists to the screen. Use the Linked_List class we developed in class.
Computers and Technology
1 answer:
Tomtit [17]3 years ago
8 0

Answer:

see explaination

Explanation:

import random

def num_gen(s, e, n):

r = []

for j in range(n):

r.append(random.randint(s, e))

return r

n = 100

s = 0

e = 1000

l = num_gen(s, e, n)

even_list = []

odd_list = []

for i in l:

if i % 2 == 0:

even_list.append(i)

else:

odd_list.append(i)

print("Even List:", even_list)

print("Odd List:", odd_list)

You might be interested in
When attaching a file or files in outlook 365 you select the attach command and then select the files location
mamaluj [8]

Answer:

When you click the attachment button a window pops up allowing you to select the file/s you want to upload

You can also drag and drop file/s this is an alternative method

Explanation:

Microsoft Outlook is a personal information manager software system from Microsoft.

Though primarily an email client, Outlook also includes such functions as calendaring, task managing, contact managing, note-taking, journal logging, and web browsing. Wikipedia

3 0
2 years ago
how can people access to a range of online services affect their ability to operate safely in the digital world
Andru [333]
Have parental controls on certain sites
3 0
3 years ago
The set of Visual Basic instructions that tells an object how to behave after an action by the user (such as clicking a button)
alexdok [17]

Answer:

Event procedure

Explanation:

Whenever a user perform certain action, such as press a button on the keyboard or click the mouse, etc. such action are called an event. when an event occurs, Visual Basic looks for BASIC instructions to tell the object in the program how to behave to the user event. The Visual Basic instructions that responds to this specific event is called an event procedure.

7 0
3 years ago
When you use the Bing Image Search for online pictures, you will be searching the Internet for pictures that have been filtered
just olya [345]

Answer:

Creative commons licensing system

Explanation:

If you use the Bing image search you will be searching the Internet for pictures that have been filtered based on the creative Commons licensing system meaning you will have to search the internet for picture that have licence that will give you the right to have the pictures because the owner has given you the licence to share or use the picture he created

Therefore Commons licenses is the licenses to get permission to do any of the things with a work that the law reserves exclusively to a licensor and that the license does not expressly allow.

7 0
3 years ago
Read 2 more answers
why is it when you put earbud aux cords in a phone or computer they sound weird until you move the aux cord? Then it is somehow
AfilCa [17]

Answer:

that might just be the headphone cord itself or it might be the port on the pc/phone

Explanation:

i had this happen with my old droid razr hd i thought it was the aux cord on my speaker and head phones but i used the same things on a friends phone and they worked just fine and this might be do to an old  or broken port on the phone /c my phone headphone port got used almost everyday and it was just the port you can replace this on some tech or you could just use bluetooth if the tech doesent have it buy and adapter.

            hope this helps!!!

4 0
2 years ago
Other questions:
  • The domain in an email message tells you the
    5·1 answer
  • What procedures are involved in saving a file for the first time?
    10·2 answers
  • You are a network administrator for a large bagel manufacturer that has 32 bakeries located throughout the United States, United
    6·1 answer
  • A program that contains the following method: public static void display(int arg1, double arg2, char arg3) { System.out.println(
    15·1 answer
  • A manager would like information on the knowledge base searches conducted by customers and call center agents. Which two metrics
    10·1 answer
  • Define the terms candidate key and primary key. Explain the difference between a primary key and a candidate key.
    9·1 answer
  • Who invented the Bluetooth device​
    12·1 answer
  • How can you say that a painting is real? ​
    7·2 answers
  • When creating a storyboard, in which section do you mention how you move from one shot to the next?
    8·1 answer
  • You are the administrator for a network with a single Active Directory domain called westsim. All computer accounts reside in or
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!