Assignment: For this assignment, you’ll be making a Brute Force Code Cracker. It will take a cipher for input and run through all possible shift-cipher keys for it. Keep in mind that there are only 26 possible keys for a shift cipher. After taking in a cipher input, you’ll need to, one-by-one, convert the characters that make up the string into numbers, shift them based on the key you’re currently testing, then shift them back to characters. Characters, when converting to numbers, always take t
Tag: define a function
Assignment For this assignment youll be creating a Bubble Sort algorithm This algorithm is
Assignment: For this assignment, you’ll be creating a Bubble Sort algorithm. This algorithm is capable of taking a list of numbers and placing them in order, however it is also known as one of the least efficient means of doing so. For your assignment, you’ll need to not only sort the given input (and display it in its final sorted form) but you’ll also need to keep track of how many comparisons and reassignments happen. So, comparing two numbers will be counted as a SINGLE action. Swapping t
Enter two positive integer numbers First number must be less than the second number you enter
Write a program that uses while loops to perform the following steps. a. Create a user-defined function called Validate_User_Input() to prompt the user to input two positive integers and validate the user’s input. Validate_User_Input() is a value returning function; doesn’t accept any arguments and returns First_Num and Second_Num. Variables: First_Num and Second_Num (First_Num must be less than Second_Num). (use while loop to validate and repeat).b. Create a user-defined function called Odd_
MatsRUs begintabularccc hline multicolumn1c Type Color Foldable 25
Create a Windows Forms application for Mats-R-Us Retailer. The app will determine the cost of a purchase based on amat type, color & whether or not it is foldable. .a. Draw a sketch of an appropriate interface. Be sure to follow the GUI design guidelines in the file(ProjectGuideline-Standards.pdf).b. If you want to include an image in the interface, you can use your own image.c. Prepare the following design specifications; Planning Chart and (pseudocode or flowchart.)d. Create a Windows Forms ap
Program 1 scrabblepy Scrabble is a word game in which words are constructed from letter tiles
Scrabble is a word game in which words are constructed from letter tiles, each letter tile containing a point value. The value of a word is the sum of each tile’s points added to any points provided by the word’s placement on the game board. Table 1: Scrabble Point Value for Each Letter Write a program using the given dictionary of letters and point values that takes a word as input and outputs the base total value of the word (before being put onto a board). Your program should allow the user
Write a Python program to implement the New User Registration i Prompt the user who is doing
Write a Python program to implement the New User Registration: i. Prompt the user, who is doing registration, for entering a username and check its validity. ii. A valid username must be a string of length 8-12 and consists of: – at least 3 and at most 8 letters (a-z, A-Z) – at least 2 and at most 6 digits (0-9) – at most 1 underscore (_) iii. Prompt the user for entering a password and check its validity. iv. A valid password must be a string of length 10-16 and consist of: – at lea
Version 0 Get Started Unzip V0GetStartedzip into your Working Directory Doubleclick on the
Please help me in the following code in Python The tspAnalyze.py is below: The tspTest_v0.txt and tspTest_v1.txt is:”The travelling salesman problem (also called the traveling salespersonproblem or TSP) asks the following question: ‘Given a list of cities andthe distances between each pair of cities, what is the shortest possibleroute that visits each city exactly once and returns to the origin city?’It is an NP-hard problem in combinatorial optimization, important intheoretical computer science