Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

List days _ list is created with the first four strings read from input. Remove strings ' 4 ' and ' 1 0 ' from

List days_list is created with the first four strings read from input. Remove strings '4' and '10' from days_list. Then, read the last
two strings from input and append the two strings to days_list, respectively.
Click here to show example
Ex: If the input is:
3
10
5
4
8
12
then the output is:
['3','5','8','12']
1 # Reads four values from input into days_list
days_list [input(), input(), input(), input()]
''' Your code goes here '''
print(days_list) Python Coding please
image text in transcribed

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_2

Step: 3

blur-text-image_3

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

Practical Neo4j

Authors: Gregory Jordan

1st Edition

1484200225, 9781484200223

More Books

Students also viewed these Databases questions

Question

g ) Insert at least five rows into each table.

Answered: 1 week ago