Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please Help Assignment 2: Total Points: 50 Instructions: Write syntactically and semantically correct line of code for what is asked the line of code written

Please Helpimage text in transcribed

Assignment 2: Total Points: 50 Instructions: Write syntactically and semantically correct line of code for what is asked the line of code written must execute and run). Make sure the code runs correctly on your command line ar jupyter nateboak priar to submission. . . if you are submitting a doc file.docx or pdf file, make sure to include the output screenshots from your running code. If submitting.py file, make sure to include the questions (commented out) and the file should be easy to run and should show the outputs to the grader without much difficulty. of submitting junyter notebook, make sure that questions are included in a separate cell right above the specific code), and that the notebook has been run atleast once without any error. 1) Write a python function that produces the pattern as shown below: (10 pts) 21 Write a simple python program that will check if a given input sequence (use input function is a palindrome or not. (5 pts) 3) Write a python program that will make user input elements in a list using the input buit in function and returns the second largest element in the list entered. (15 pts) 4) Create a text file with some sentences. Write a python program that will read a random line from the file. (5 pts) 5) Create a text file with some text. Write a program that will open the file and count the number of capital characters in the file. (15 pts)

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

Seven NoSQL Databases In A Week Get Up And Running With The Fundamentals And Functionalities Of Seven Of The Most Popular NoSQL Databases

Authors: Aaron Ploetz ,Devram Kandhare ,Sudarshan Kadambi ,Xun Wu

1st Edition

1787288862, 978-1787288867

More Books

Students also viewed these Databases questions

Question

Present your business plan to the class.

Answered: 1 week ago