subject
Computers and Technology, 22.11.2019 01:31 lke123

Redactedyou are a spy. the file attached has a series of messages that need to be encrypted before being sent. open the file "messages. txt", and for each line, replace all instances of the name "james bond" with "[redacted]", and then print the result. do not use the built-in read method of files. file info: "day 1: i have started observation of james bond. day 3: james bond has still not realized that i am hiding under his fridge. day 14: i accidentally sneezed, and james bond nearly noticed. close call! day 20: after nearly three weeks, james bond has still not noticed i am not a fridge. day 21: without anyone else to talk to, i am concerned that i might be empathizing with the fridge. day 25: i am now the fridge. day 27: james bond hasn't bought any new milk lately. james bond needs more calcium. i am concerned for him. day 29: james bond discovered me after i offered to him find the eggs! i had to flee. ending mission."blockpy: #45.4) plus or minusthe file attached has a series of "+" and "-" characters, representing additions and subtractions. create a function named convert_operator, which consumes a string (a single character, either a "+" or a "-") and returns either 1 or -1, respectively. then apply this function to the contents of each of the following files to calculate the sum of all these pluses and minuses (so an integer number). notice that the "plus and minus. txt" file is entirely on one line. therefore, you should use the read method to access its contents. but you should only pass one character at a time to the function you write! file info: +++-+++--++-+++--+-++--+--+++--++-+ ++--++-+++--+-++--+-+++--+++--++-++ +--+-++-+-+++--+-++-+++-++-+++--+-+ +--+--+++--++-+++--++-+++--+-++--+- +++--+---++-++--++-+++--+-++-+-+++- -+-++--+--+++-++-+++--+--+++--+-++- +++--++-+++--+-++--+-+++--+++--++-+ ++--+-++-+-+++--+-++--+--+++-++-+++ --+-++--+--+++--++-+++--++-+++--+-+ +--+-+++--+++--++-+++--+-++-+-+++-- +-++--+--+++--+---+--+-+

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:00
Which of the following is a way that advancements in technology improve humans' ability to measure air quality and protect human health? a. air quality data gathered by new instruments can be used to reduce exposure to pollutants. b. new technologies enable natural and human-made pollution sources to be located and monitored. c. air quality data gathered by new instruments can be used to predict trends in pollution over time. d. new technologies allow governments to make informed decisions about the regulation of pollution. (choose more than one)
Answers: 2
question
Computers and Technology, 22.06.2019 09:00
Designing a mobile web page is a little different from designing a regular web page. name at least three features that should be considered when designing a website that is mobile phone-friendly, and briefly explain why they are important.
Answers: 1
question
Computers and Technology, 22.06.2019 19:40
Solve the following javafx application: write a javafx application that analyzes a word. the user would type the word in a text field, and the application provides three buttons for the following: - one button, when clicked, displays the length of the word.- another button, when clicked, displays the number of vowels in the word.- another button, when clicked, displays the number of uppercase letters in the word(use the gridpane or hbox and vbox to organize the gui controls).
Answers: 1
question
Computers and Technology, 22.06.2019 21:30
The graph shows median weekly earnings for full-time workers according to education level. which can you not conclude?
Answers: 2
You know the right answer?
Redactedyou are a spy. the file attached has a series of messages that need to be encrypted before b...
Questions
question
Mathematics, 26.03.2020 05:52
question
English, 26.03.2020 05:52
question
Mathematics, 26.03.2020 05:53
Questions on the website: 13722363