Please provide questions 1 and 2 with complete answer with proper steps and screenshots as well

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Please provide questions 1 and 2 with complete answer with proper steps and screenshots as well

Post by answerhappygod »

Please provide questions 1 and 2 with complete answer with
proper steps and screenshots as well
Please Provide Questions 1 And 2 With Complete Answer With Proper Steps And Screenshots As Well 1
Please Provide Questions 1 And 2 With Complete Answer With Proper Steps And Screenshots As Well 1 (51.36 KiB) Viewed 21 times
Please Provide Questions 1 And 2 With Complete Answer With Proper Steps And Screenshots As Well 2
Please Provide Questions 1 And 2 With Complete Answer With Proper Steps And Screenshots As Well 2 (42.88 KiB) Viewed 21 times
Most of the constructs you may need to solve the problems in this assignment have already been covered in your class. However, you are encouraged to research other programming concepts, such as Python Lists, to help you in solving the problems. 1. Symmetric words: a symmetric word is one that can be read both ways. Write a program (save it as symmetric.py) that takes an English word as in input and prints out whether a word is symmetric. For example: Please enter a word: Stats Stats is symmetric >>> Please enter a word: refer Refer is symmetric >>> Please enter a word: Australia Australia is not symmetric Start your answer by stating the algorithm, i.e. steps required to solve the problem. Also make sure to add comments to your code that correspond to the algorithm Marks Distribution Criteria Algorithm Comments Logic Execution Total Mark 2 1.5 1.5 6
2. Write a program (save it as secredential.py). Secredential generates a random passphrase. Your program prompts the user to determine how strong the passphrase is, which can be either strong or ultra-strong. Strong password is a passphrase that is at least 8 characters long, and one that consists of non-dictionary letters. An ultra-strong passphrase is one that is at least 8 characters long, and is a combination of small letters, capital letters, numbers and special characters. Your program must print the passphrase on the screen. For example, Please enter 0 for a strong passphrase or 1 for an ultra-strong passphrase: 0 Your strong passphrase is: kdeptbva >>> Please enter o for a strong passphrase or 1 for an ultra-strong passphrase: 1 Your ultra-strong passphrase is: aY9e$ 4M) Start your answer by stating the algorithm, i.e. steps required to solve the problem. Also make sure to add comments to your code that correspond to the algorithm.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply