Assume is a string of numbers. Write a program that checks the string for the values , , and . When one of the values is found in the string, record its position within the string and continue to check for more occurrences. Finally, output the results found. For example, if , your program should print: 2 7 3 8 14 5 0 6 11 7 3 13 Give Five (5) different examples with its output. Assume is a string of numbers. Write a program that prints the longest substring of in which the numbers occur in descending order. For example, if , then your program should print In the case of ties, print the first substring. For example, if , then your program should print You have recently returned to Australia after a holiday abroad. You have some unspent foreign currency that you need to convert back into AUD (Australian Dollars). Write a program that will allow you to enter two or more amounts of foreign currency and their associated exchange rate. Convert the amounts back into AUD and print the total sum of AUD received once all conversions are complete. Resulting program output might look similar to: Write a python program that allows the user to navigate the lines of text in a file. The program should prompt the user for a filename and input the lines of text into a list. The program then enters a loop in which it pri
nts the number of lines in the file and prompts the user for a line number. Actual line numbers range from 1 to the number of lines in the file. If the input is 0, the program quits. Otherwise, the program prints the line associated with that number. Write a program that encrypts and decrypts the user input. Your input should be only lowercase characters with no spaces. Your program should have a secret word that will be used for encryption/decryption. Each character of the users input should be offset by the value of the same character in your secret word. For example, if my secret word is cab and the user wants to encrypt apples. c a b c a b 3 1 2 3 1 2 a p p l e s 1 16 16 12 5 19 4 17 18 15 6 21 d q r o f u The encrypted output would be dqrofu. The program should ask the user for input to encrypt, and then display the resulting encrypted output. Next your program should ask the user for input to decrypt, and then display the resulting decrypted output. Write a python program that accepts a text file as input. The program should read the text file and display all unique words in alphabetical order. It should then display the non-unique words and the number of times that they occurred in the input text. Input file contains the following text: Expected outcome should resemble: !End! Purchase the answer to view it