Answered step by step
Verified Expert Solution
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 Help
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started