Fill in the missing term.
from raftClass ___________ *

# main program that uses rafts
myRaft = raft(30)
print(myRaft)

Answers

Answer 1

Answer:

import

Explanation:

The language being used in this code is Python. The from tag in python is used to import code from other files and is completed with the import tag, while the * symbol indicates that all the information in that class/file is imported. Therefore the complete code would be the following...

from raftClass import *

# main program that uses rafts

myRaft = raft(30)

print(myRaft)


Related Questions

What are 6 subtopics on computer programming ?

Answers

On the internet, I found

Research topics

Artificial Intelligence

Computing and Mathematics

Cybersecurity

Data Science and Machine Learning

Embedded Systems and IoT

Process Management

Hope this helped :T

The following is a mock-up of a Battleship game board. The square with a X marks the position of a battleship.

Where is the ship?

1 2 3 4
A
B X
C
D
Row ___

Column ___

Row: D, C, A, or B?
Column: 4, 3, 1, or 2?

Answers

Answer:

Row B column 2

Explanation:

X is directly underneath column 2 and the row is B

Answer:

its actually B3

Explanation:

What is the computer system cycle called?

Answers

Answer:

he fetch–decode–execute cycle, or simply the fetch-execute cycle

mark me brainliestt :))

Need the answer ASAP!!!!

Select the correct answer.

What type would the object X be in the following statement:

If (x) {...}

A.number

B.Boolean

C.string

D.date

Answers

Answer:

its Boolean

Explanation:

trust me

paris que tipo de sustantivo es?​

Answers

Explanation:

CATEGORIA GRAMATICAL PARIS

Paris es sustantivo.

Name 2 positive impacts cell phones have

Name 2 negative impacts of cell phones.

Answers

Answer: Positive 1: Call from longer distances

Positive 2 : Don't have to remember your contacts number

Negative 1 : Has radiation so dangerous when put up to ear

Negative 2 : Can make your eyes strain from looking at that tiny screen

Hope this helps and please subscribe to my channel : Get To One Million Subs Without Any Videos

Explanation:

Select the correct answer.
Which example sets a constraint to validate user input?

Answers

Answer:

Address field should be less than 30 characters

Explanation:

Answer:email field accepts only numbers

Explanation:

In addition to different gameplay styles, games also have different player states.
True
False

Answers

Answer:

Games differ wildly on how many stats they have. If you take an RPG like Zelda, does Link have a strength stat or an intelligence stat? No! An RPG doesn't need a lot of stats to be good but nearly all RPGs will have some stats.

Explanation:

PLEASE HELP FOR A FINAL!!-WEB DESIGN
Name 3 characteristics true about website typography?​

Answers

Answer:

Contrast, color and size

Explanation:

Typography is the thoughtful selection and arranging of type to make text legible, readable and appealing on a web page.

There characteristics of typography to consider on a web page include contrast, color and size.

Contrast

The contrast between the text and its surroundings helps with readability. A black text on white background has the highest contrast and is thus easily read.

Color

The text color helps with readability on the web page. Different layouts on the web page with different sections having different colors or colors of text help with readability.

Size

The text size also helps with readability. The size o text on the web page depends on the section of the web page. A header would require a larger text than a section of the web page.

5. Thinking Critically The relationship between science and technology is often
called a "chicken and egg argument" (Which one came first, the chicken or the
eg97). Explain how science and technology are like the chicken and the egg.​

Answers

Answer:

it's a code arguement or its a lie

Explanation:

If your talking then code Then That means it's a code arugument

If your talking about science then The chicken and the egg argument is a lie or speccificalley the egg, well First, let's get the scientific answer out of the way. That answer is also true—the egg comes first—when you narrow it down to chickens and the specific it was weren't too convinced, with one of them calling the question “fun but pointless.

what are the basics to learn for ethical hacking?​

Answers

Answer:

1. Run on OS which is similar to UNIX, like Linux. UNIX as well as UNIX-like OS are the operating systems of the Internet. Though a person can learn ...

2. Learn HTML.

3. Gain the knowledge of Programming.

4. Be a Creative Thinker.

5. Make a habit of Solving Problems.

Explanation:

Tips: Be highly smart with it, code may mess you up at times, changing things you'd never touched!

which is not a communications media?
1. wire
2.microwave
3.satellite
4. NIC​

Answers

Answer:

2. microwave

Explanation:

It's a gadget used in the kitchen

Alguien me podria ayudar a hacer este codigo porfavor? en php Desarrolle el código que solicite los datos (desde teclado) Nombre, Edad y peso. Posteriormente realice lo siguiente: a) Imprima los datos. b) Solicite el peso hasta que el rango de valores sea entre 50 y 100 kilos. c) La edad debe ser entre 18 y 50 años Suba los archivos con el código y la evidencia de la ejecución.

Answers

Answer:

Explanation:

El codigo solicita los datos y los analiza. Si estan bien continua, sino los vuelve a solicitar. Cuando esten todos los datos bien los imprime.

import java.util.Scanner;

class Brainly {

   public static void main(String[] args) {

       Scanner in = new Scanner(System.in);

       System.out.println("Nombre: ");

       String nombre = in.nextLine();

       int Edad, peso;

       while (true) {

           System.out.println("Edad: ");

           Edad = in.nextInt();

           if ((Edad >= 18) && (Edad <= 50)) {

               break;

           }

       }

       while (true) {

           System.out.println("Peso: ");

           peso = in.nextInt();

           if ((peso >= 50) && (peso <= 100)) {

               break;

           }

       }

       System.out.println("Nombre: " + nombre);

       System.out.println("Edad: " + Edad);

       System.out.println("Peso: " + peso);

   }

}

Select the correct answer.
In what order would presentations that use hyperlinks proceed?
A. sequential
В-linear
c-ascending
D-non-sequential

Answers

A. Sequential because it is the right answer

What are the routes through with Virus transmitted into computer
system?​

Answers

Answer:

Computer viruses usually spread in one of three ways: from removable media; from downloads off the internet; and from email attachments. Although the internet gets a bad rap as a source of viruses, you're no more likely to contract a virus from the Web than you are from packaged software.

Explanation:

can I get brainliest please

create a digital image edhesive

Answers

Answer:

import simplegui

def draw_handler(canvas):

   colors = []  

   colors.append (["#80e5ff", "#80e5ff", "#ffffff", "#ffffff", "#80e5ff", "#80e5ff","#ffffcc"])  

   colors.append (["#80e5ff", "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#80e5ff","#80e5ff"])  

   colors.append (["#80e5ff", "#80e5ff", "#80e5ff", "#80e5ff", "#80e5ff", "#80e5ff","#80e5ff"])  

   colors.append (["#80e5ff", "#80e5ff", "#80e5ff", "#80e5ff", "#80e5ff", "#80e5ff","#80e5ff"])  

   colors.append (["#80e5ff", "#80e5ff", "#80e5ff", "#80e5ff", "#80e5ff", "#80e5ff","#80e5ff"])  

   colors.append (["#80ff80", "#80ff80", "#80ff80", "#80e5ff", "#80e5ff", "#80e5ff","#80e5ff"])  

   colors.append (["#80ff80", "#80ff80", "#80ff80", "#80ff80", "#80ff80", "#80ff80","#80ff80"])  

   row = 0

   col = 0

   for r in range(1, 350, 50):           #outside loop

       for c in range(1, 350, 50):       #inside loop

           canvas.draw_polygon([(c, r), (c + 50, r), (c + 50, r + 50), (c, r + 50)], 1, "black", colors[row][col])    

           col = col + 1

       row = row + 1

       col = 0

#********** MAIN **********

frame = simplegui.create_frame('Pic', 350, 350)

frame.set_draw_handler(draw_handler)

frame.start()

Explanation:

The outside

In this exercise we have to use the knowledge in computational language in python to write the following code:

We have the code can be found in the attached image.

So in an easier way we have that the code is

import simplegui

def draw_handler(canvas):

  colors = []  

  colors.append (["#80e5ff", "#80e5ff", "#ffffff", "#ffffff", "#80e5ff", "#80e5ff","#ffffcc"])  

  colors.append (["#80e5ff", "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#80e5ff","#80e5ff"])  

  colors.append (["#80e5ff", "#80e5ff", "#80e5ff", "#80e5ff", "#80e5ff", "#80e5ff","#80e5ff"])  

  colors.append (["#80e5ff", "#80e5ff", "#80e5ff", "#80e5ff", "#80e5ff", "#80e5ff","#80e5ff"])  

  colors.append (["#80e5ff", "#80e5ff", "#80e5ff", "#80e5ff", "#80e5ff", "#80e5ff","#80e5ff"])  

  colors.append (["#80ff80", "#80ff80", "#80ff80", "#80e5ff", "#80e5ff", "#80e5ff","#80e5ff"])  

  colors.append (["#80ff80", "#80ff80", "#80ff80", "#80ff80", "#80ff80", "#80ff80","#80ff80"])  

  row = 0

  col = 0

  for r in range(1, 350, 50):        

      for c in range(1, 350, 50):      

          canvas.draw_polygon([(c, r), (c + 50, r), (c + 50, r + 50), (c, r + 50)], 1, "black", colors[row][col])    

          col = col + 1

      row = row + 1

      col = 0

frame = simplegui.create_frame('Pic', 350, 350)

frame.set_draw_handler(draw_handler)

frame.start()

See more about python at brainly.com/question/18502436

What does IPOS stand for?

Answers

Answer:

IPOS stand for Input Process Output Storage.

what is the diffrence between a word prosesser and an text editor​

Answers

Answer:

A word processor is a more extensive text editor. A text editor is used solely to write and edit text. You can copy, cut, paste, undo and redo. ... A word processor allows you to edit text in addition to multiple other functionalities such as text formatting (italic, bold, underline, etc.).

Explanation:

Have a great day/night! hope this helped :}

define the physical components of hardware for a computer system,including identifying internal hardware devices(e.g. processor,motherboards,ROM,RAM,video cards,sound cards,and internal hard disk drives)

Answers

Answer:

Explanation:

The necessary hardware components that a computer requires to run properly are the following.

Motherboard, this is the main circuit board that interconnects all of the components and allows them to interact with each other.

CPU, this is the brain of the computer where all calculations and processes are handled.

Video Card, this component handles all the visual data, rendering that the computer needs in order to get a proper image.

RAM, these components are the physical memory where temporary data is stored and used.

Hard Disk, this is the main storage drive where all your data will be saved including the operating system.

PSU, this is the power supply of the unit that distributes the correct amount of power to every other component in the system.

Sound Card, this component handles all the input and ouput audio signals for a computer.

Why are there more producers then consumers?​

Answers

Answer:

because producer can make their own food

What are 6 subtopics to the topic “computer programming”? Please let them be good answers that are middle school level

Answers

Answer:

1. Array programming language.

2. Aspect-oriented programming language.

3. Class-based programming language.

4. Concatenative programming language.

5. Concurrent programming language.

6. Data-structured language.

I'm not sure if this is what you want, but these are a couple types of programming languages

Most ________ are accompanied by several common utility programs, including a search program, a storage management program, and a backup program.

Answers

Answer:

operating systems

Explanation:

The operating systems is shortly known as OS. It is a system software which manages the software resources of the computer, computer hardware and also provides some common services for the various computer programs.

Most of the operating systems available in the market provides some common utility programs such as the search program, a backup program and a storage management program also.

Some common operating systems are : Linux, Microsoft Windows, Ubuntu, macOS, Unix, and many more.

Your classmate is frustrated because the code that was designed to add up her five quiz grades is not working properly.

What change would you suggest to your classmate based on this code?for (i=1;i<=5;i++){ sum=0sum=sum+i;}

Answers

Answer:

sum = 0 must be before for loop. If inside for loop, it will keep resetting sum to 0 each iteration.

Explanation:

hope this helps

Which statement best describes the problem statement below?

Answers

Answer:

dont click on his link it has virus

why do arthitects prefer memory dump to be in base 16​

Answers

Answer:

Memory dump in  base 16​ is human friendly

Explanation:

Hexadecimal numbers are human friendly and hence it is very easy to express the binary number in a more human-friendly as compared to any other base number systems. It is also used to trace errors in the storage

hence, the Architects prefer memory dump to be in base 16​

How has cell phones impacted our society.

i really need this please.

Answers

Cell phones have impacted the society very much. Cell phones help us communicate with people that aren’t so close by us. Cell phones have changed so much over generations and have let us understand the way the internet works nowadays.
Cell phones have impacted our society because now we can text someone without having to see them and we can also call someone from far away and that is always good because some people can’t see their friends or family. Also people spend lots of time on cell phones. We can also now take pictures and capture moments.

Hope this helped

When using the Photo Album dialog box, a picture

O cannot be modified in this view.

O cannot have te added.

O can be inserted from a file or disk.

O will be permanent when added to the box.

Answers

Answer:

Explanation:

For a Photo Album, it must allow a picture to be added and modified. The picture can be deleted later as it is not permanent.

So the answer is a picture can be inserted from a file or disk.

Classify the following skills: communication, creativity, and independence.

Hard skills
Interpersonal skills
People skills
Soft skills

Answers

Answer:

Communication, creativity, and independence are people skill

Explanation:

Soft skills depict the quality of a person and classify his/her  personality trait or habit.

Communication - Interpersonal skill

Interpersonal skill allows one to interact and communicate with others effortlessly.

Both soft skill and interpersonal skill comes under the umbrella term i.e people skill.

Hence, communication, creativity, and independence are people skill

Answer:

It's not people skills I got it wrong on my test

Explanation:

What design element includes creating an effect by breaking the principle of unity?

Answers

Answer:

Sorry

Explanation:

Computer chip

Explain what the loop does and what the result of executing it will be.

Consider this JavaScript loop:var new = 0;for (i=3;i<=5;i++){ new=new+i;}

Answers

Answer:

The loop increments the value of new while the loop condition is true

The end value of new is 3

Explanation:

Given

The above code segment

Required

What the loop does and the result

We have:

[tex]new = 0[/tex] --- initialize new to 0

[tex]i = 3; i \le 5; i++[/tex] --- The loop condition;

i.e. the loop will be repeated 3 times (when i = 3, 4 and 5)

[tex]new = new + 1[/tex] --- For each increment of i, new is incremented by 1

So, the value of new is:

i = 3: new = 0 + 1 = 1

i = 4: new = 1 + 1 = 2

i = 5: new = 2 + 1 = 3

Other Questions
E5377CDmZC=. Olivias makes $825 per week at her job at Target. She is paid an additional $15.00 for every hour of overtime she works. Olivias goal was to make at least $900 on her paycheck. How much overtime would she have to work to accomplish her goal? Write, solve and graph the inequality. how can i solve that equation by factoring Valerie and Bret have a total of 21 dog show ribbons. Bret has twice as many ribbons as Valerie. How many ribbons does each have? Plz help pls do for me and i give hug What is the equation of the graph below? Diameter is 22.5m. Calculate the area (round your answer to 2 decimal places). Use 3.14 for Pi. What is the quadratic regression equation that fits these data?Number of seconds Height (in feet)0,11 1,13 2,13 3,15 4,9 5,1 The question is in the picture En qu situaciones usamos los nmeros enteros positivos y negativos, escribe 2 ejemplos de cada uno? Por favor para ahora hocino me jalan :( What is different about conjugations for regular verbs in the future tense? (choose all that apply)Group of answer choicesdon't drop the -ar, -er, iradd the new ending to the infinitiveall regular verbs have the same endingsthere are accents on every form except for nosotros I don't understand part B i only get the first number but that's about it :( John Wilkes Booth is best rememberedfor.inventing the steam engineinvading Kansasspeaking out for states' rightsshooting Lincoln Terri measured the length of the special curtain rod and found it was 2 meters long. How many centimeters long is the curtain rod?Record your answer and fill in the bubbles on your answer document. Be sure to use the correct place value. There is a circle with a diameter of 2. Round to nearest tenth!What is the Radius? What is the Circumference? What is the Area? Which of the following is not a principle of Stoicism?1. One must bear pain and suffering bravely and quietly.2. Good moral character was important.3. A sense of duty and responsibility was more Important than personal comfort.4. A country should provide jobs. Circuit Training If sin0 =1 and 0 8) A bag contains three yellow tennis ballsnumbered one to three. The bag alsocontains five green tennis balls numberedone to five. You randomly pick a tennisball. It is green or has a number less thantwo. Amelia received $4.15 in tips from one table. All of her tips were in quarters, dimes and nickels. There were five less dimes than quarters and three more nickels than twice the number of quarters. How many dimes did she have? Who was the former slave who served in the Revolutionary War for Georgia, waswounded in battle, and eventually received a pension and land for his service.