1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Y_Kistochka [10]
3 years ago
8

Does anyone have a rbx account? If they do friend request Tribalchief777

Computers and Technology
1 answer:
Mila [183]3 years ago
8 0

Answer:

ok, no because this site is for hw

Explanation:

You might be interested in
Movie recommendations? I’m in middle school so nothing nasty bro and I don’t really like horror movies so none of those either
lbvjy [14]

Answer:

watch happy gilmore

Explanation:

5 0
3 years ago
Read 2 more answers
Is an electronic scavenger hunt played around the world.
pogonyaev
It can be played around the world
4 0
4 years ago
Define the body of the function read_data(filename). If filename is None, return the sentence (already defined for your), otherw
Morgarella [4.7K]

Answer:

Answer explained

Explanation:

The main difference between parse_text_into_words( v1 and v2) is I have used splitlines also in v1 so the escape sequence '\n' will not be present in the list of words. while in v2 only split function is used so it will have '\n' present in words list.

Code:

def read_file(fileName = None):

  try:

      File = open(fileName,"r") # opening file in read mode

      for row in File:          # for each line in File

          print(row,end="")

  except IOError:      # handling exception of file opening

      print("Could not read file:",fileName)

def parse_text_into_words_v1(text):

  list_words = []

  list_lines = text.splitlines()

  for i in list_lines:

      list_words.extend(i.split(' '))

  return list_words

def parse_text_into_words_v2(text):

  list_words = []

  list_words.extend(text.split(' '))

  return list_words

def determine_difference(a_list,b_list):

  print("first list:",a_list)

  print("second list:",b_list)

  a_set = set(a_list)

  b_set = set(b_list)

  diff = a_set - b_set

  diff = list(diff)

  print("\nDifference between 2 sets: ",diff)

if __name__ == '__main__':

  print("Reading file using function read_file() to read \"data.txt\" :")

  read_file("data.txt")

  print("\n\n")

  t = '''vhfhyh ghgggj ghchvjhvj'''

  print("\nDemonstrating implementation of parse_text_into_words_v1:")

  l = parse_text_into_words_v1(t) # calling function with text parameter

  print("list of words:")

  print(l)

  print("\nDemonstrating implementation of parse_text_into_words_v2:")

  b = parse_text_into_words_v2(t) # calling function with text parameter

  print("list of words:")

  print(b)

  print("\nDemonstrating difference between two lists")

  a_list = [1,2,3,4,5,6,7,8,9,10]

  b_list = [2,4,6,8,10]

  determine_difference(a_list,b_list) # passing two list to take difference

8 0
3 years ago
How we Design a power point presentation with your own voice recording in slide show with at least 10 slides. You can choose any
sukhopar [10]

Answer:

qszdsdddddsq

Explanation:sqdqsdsqdsqd

6 0
3 years ago
Type the correct answer in the box. Spell all words correctly.
erica [24]

Answer:

Storing data on the cloud enables access from any location.

Explanation:

4 0
3 years ago
Other questions:
  • Question 9.9. Encryption is BEST described as
    12·1 answer
  • In one to two sentences, describe one method for launching or opening a program.
    5·2 answers
  • How do I only give 5 points and not 10?
    7·1 answer
  • You are the manager and two employees are having issues with each other. These issues are affecting their happiness and producti
    11·1 answer
  • Li Chang has recently started his own business. He plans to launch his design for an application (app) for a smartphone. All of
    9·1 answer
  • You are managing an FTP server installed in Ubuntu Server. The server has created a very large log le, vsftpd.log. Which command
    14·1 answer
  • So I bought a mechanical keyboard with cherry mx red switches. you're called "linear and silent" they are linear but they aren't
    10·1 answer
  • A list is sorted by selecting the largest element in the list and swapping it with the last one. This technique is called ______
    7·1 answer
  • True or false windows 98 and windows xp are examples of an operating system?
    12·1 answer
  • What is a primary risk to the Workstation Domain, the Local Area Network (LAN) Domain, and the System/Application Domain
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!