Write the full coding of python language to hack any mobile phone. Spam answers will be reported.
Added by Jacqueline S.
Step 1
It is important to respect the privacy and security of individuals and organizations. Show more…
Show all steps
Your feedback will help us improve your experience
Farruh Turgunov and 97 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Write a Python code. When you turn on a smartphone, you need to use a passcode number to access your phone. If a user fails more than six times when entering the passcode, the phone will be locked. Assume that the user's passcode is "123456" and write a program that asks the user for the passcode no more than six times, and does the following: If the user enters the right number, print a message saying "Phone unlocked." and end the program. If the user enters a wrong number, print a message saying "Incorrect passcode, try again." and, if you have asked for the passcode less than six times, ask for it again. If the user enters a wrong number six times, print a message saying "Your phone is permanently locked." and end the program. Note: You can assume that the user will always enter digits only as input for this problem. Sample Program run: Sample run #1 Enter your passcode: 112233 Incorrect passcode, try again. Enter your passcode: 123456 Phone unlocked. Sample run #2 Enter your passcode: 878367 Incorrect passcode, try again. Enter your passcode: 667383 Incorrect passcode, try again. Enter your passcode: 098529 Incorrect passcode, try again. Enter your passcode: 654321 Incorrect passcode, try again. Enter your passcode: 674987 Incorrect passcode, try again. Enter your passcode: 147856 Your phone is permanently locked.
Shelayah R.
Write a Python program that prints (displays): Your name Address Telephone number An example of the program output is shown below: Ken Lambert Virginia 555-555-0101
Akash M.
(Phone keypads) The international standard letter/number mapping for telephones is: Write a function that returns a number, given an uppercase letter, as follows: def getNumber(uppercaseLetter): Write a test program that prompts the user to enter a phone number as a string. The input number may contain letters. The program translates a letter (uppercase or lowercase) to a digit and leaves all other characters intact. Here is a sample run of the program:
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Watch the video solution with this free unlock.
EMAIL
PASSWORD