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 21:00
Simon says is a memory game where "simon" outputs a sequence of 10 characters (r, g, b, y) and the user must repeat the sequence. create a for loop that compares the two strings starting from index 0. for each match, add one point to userscore. upon a mismatch, exit the loop using a break statement. assume simonpattern and userpattern are always the same length. ex: the following patterns yield a userscore of 4: simonpattern: rrgbryybgy userpattern: rrgbbrybgy
Answers: 2
question
Computers and Technology, 22.06.2019 22:00
Discuss the ways in which electronic information associated with payments is addressed in terms of security. include encryption, secure sockets layers, and secure electronic transactions in your discussion. are there any other ways that consumers and businesses can keep their payment information secure in an electronic commerce environment? do you feel that your information is safe when conducting electronic business? why or why not?
Answers: 1
question
Computers and Technology, 22.06.2019 23:00
In which part of a professional email should you try to be brief, but highly descriptive?
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
Which of the following is not a symptom of chronic fatigue syndrome
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
Chemistry, 26.06.2019 04:40
question
English, 26.06.2019 04:50