Computers and Technology
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: +++-+++--++-+++--+-++--+--+++--++-+ ++--++-+++--+-++--+-+++--+++--++-++ +--+-++-+-+++--+-++-+++-++-+++--+-+ +--+--+++--++-+++--++-+++--+-++--+- +++--+---++-++--++-+++--+-++-+-+++- -+-++--+--+++-++-+++--+--+++--+-++- +++--++-+++--+-++--+-+++--+++--++-+ ++--+-++-+-+++--+-++--+--+++-++-+++ --+-++--+--+++--++-+++--++-+++--+-+ +--+-+++--+++--++-+++--+-++-+-+++-- +-++--+--+++--+---+--+-+

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 10:30, ilovepickles930
What can tanya do now to start preparing for the college and scholarship application process? think about her grades, activities in which she can get involved, possible part-time jobs at which she can work, and standardized tests she can take. (10 points) apex
Answers: 2
image
Computers and Technology, 22.06.2019 19:30, keke6361
When using a public computer or network, you should always
Answers: 2
image
Computers and Technology, 23.06.2019 17:30, cxttiemsp021
Per the municipal solid waste report, what are the most common sources of waste (trash
Answers: 3
image
Computers and Technology, 24.06.2019 17:00, 322993
Following are uses of spreadsheets. for each use, choose whether the use is a business use, consumer use, or student use. family budget: sales data: recording research data for science class:
Answers: 2
Do you know the correct answer?
Redactedyou are a spy. the file attached has a series of messages that need to be encrypted before b...

Questions in other subjects:

Konu
Mathematics, 11.09.2020 14:01
Konu
Mathematics, 11.09.2020 14:01
Konu
Mathematics, 11.09.2020 14:01
Konu
Mathematics, 11.09.2020 14:01
Konu
Mathematics, 11.09.2020 14:01
Konu
Mathematics, 11.09.2020 14:01
Konu
Mathematics, 11.09.2020 14:01
Konu
Social Studies, 11.09.2020 14:01
Konu
Mathematics, 11.09.2020 14:01
Konu
Mathematics, 11.09.2020 14:01