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
saveliy_v [14]
3 years ago
10

What did Francis Ford Coppola and George Lucas create?

Computers and Technology
1 answer:
garik1379 [7]3 years ago
7 0
. 3d animation markers
You might be interested in
There are built-in Styles to format your document and make changes to your document with just one click of a button.
Dmitriy789 [7]
False

i’m sure of it !!
6 0
3 years ago
Read 2 more answers
When was unicode invented?
kvasek [131]
I searched up the answer and got 1991. Hope this is correct.
6 0
4 years ago
Which one of these is an example of unnecessary debt?
Alex73 [517]
C. you charge clothes you don’t really need on a high-interest store card

hope this helps :)
7 0
3 years ago
Read 2 more answers
How many minutes are there from 8:00 am to 1:00 pm?
wlad13 [49]
Well it’s 5 hours so you take 5 times 60m for each hour and you get 300m
4 0
3 years ago
Read 2 more answers
This is similar to the last problem, except that the first number on a line is an ID number that identifies an account. The same
andre [41]

Answer:

Following are the code to this question:

def getSum(ID):#defining a method getSum that accept an ID

   t= 0#defining a variable t

   while ID!= 0:#defining while loop to check ID not equal to 0

       t+= ID % 10# holding remainder value

       ID = ID // 10#holding quotient value

   return t#return total value

def readRecord(S):#defining a method readRecord that hold list  

   f_Read = open("idInfo.txt","r")#defining a variable f_Read to open file

   for C_ID in f_Read:#defining for loop to hold file value  

       C_ID = C_ID.replace('\n', '')#use replace method

       S[C_ID] = getSum(int(C_ID))#use list to method value

   f_Read.close()#close file

def sortRecord(ID_List, t_List):#defining a sortRecord

   for x in range(len(ID_List) - 1):#defining for loop to calculate the length of list  

       for y in range(0, len(ID_List) - x - 1):#defining for loop to calculate the length of list

           if ID_List[y] > ID_List[y+1]:#defining if block to check value is greater

               ID_List[y], ID_List[y+1] = ID_List[y+1], ID_List[y]#swap the value

               t_List[y], t_List[y+1] = t_List[y+1], t_List[y]#swap the value

def showReport(ID, t):#defining a method showReport that accept id and t

   for i in range(len(ID)):#defining for loop to hold index value

       print(ID[i]," ",t[i])#print index value

def writeRecord(ID_List, t_List):#defining a method writeRecord that accept two list

   f_Write = open("idSorted.txt","w")#defining a variable f_Write to hold store value in file

   for i in range(len(ID_List)):#defining a for loop to store value with index

       f_Write.write(ID_List[i])#hold list value

       f_Write.write(" ")    #for space

       f_Write.write(str(t_List[i]) + "\n")# add index value

   f_Write.close()#close file

def run():#defining method run

   S = {}#defining an empty list

   readRecord(S)#passing list into readRecord method

   ID_List = list(S.keys())#defining a variable that holds key value in list

   t_List = list(S.values())#defining a variable that holds values value in list

   sortRecord(ID_List, t_List)#calling a method sortRecord by passing value

   showReport(ID_List, t_List)#calling a method showReport by passing value

   writeRecord(ID_List, t_List)#calling a method writeRecord by passing value

if "run":

   run()

Output:

Please find the attached file.

Explanation:

In the above program code, 6 method getSum, readRecord, sortRecord,showReport, writeRecord, and run method is defined, in which getSum and readRecord is used a single list store value in parameters, and in other methods, it accepts two parameter to store value in key and values form and use a txt file to store and take value.    

In the run method, an empty list s is declared, that pass into the variable ID_List and t_List, and call the method, in this program two a text file "idInfo.txt" is used, that holds some value in the file, and create another file that is "idSorted.txt", in this file it stores the value in the numerical order of the ID's.

6 0
3 years ago
Other questions:
  • Compare and contrast the TwoFish encryption algorithm with the DES and AES algorithms. In your comparison be sure to compare and
    6·1 answer
  • The Tell Me feature also includes access to the _____ feature.
    13·1 answer
  • What action makes RAM on your computer disappear?
    12·2 answers
  • "Currency" is a field data type ,it represents Date or time values<br> True or false tho?
    12·1 answer
  • When you use the .net data provider objects to retrieve data from a database, you can store the data in an object called a?
    8·1 answer
  • Select the correct answer from the drop-down menu.
    15·2 answers
  • Write a program that ask a user to input radius of a circle and display circumference of a circle
    13·1 answer
  • In what year did the first ibm personal computer debut
    14·1 answer
  • Who tryna trade in gta my psn is xMadOrNawx-_-
    11·2 answers
  • A user who bypasses the documentation to get a new hardware or software package operational as rapidly as possible is a victim o
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!