Answer:
cherry
van
red
George
gold
I am coding a turtle race in python I have to Use a single call to forward for each turtle, using a random number as the distance to move
import turtle,random
s = turtle.getscreen()
t1 = turtle.Turtle()
t2 = turtle.Turtle()
t3 = turtle.Turtle()
t2.penup()
t2.goto(1,100)
t3.penup()
t3.goto(1,200)
while True:
t1.forward(random.randint(1,10))
t2.forward(random.randint(1,10))
t3.forward(random.randint(1,10))
if t1.xcor() >= 180:
print("Turtle 1 won the race!")
quit()
elif t2.xcor()>= 180:
print("Turtle 2 won the race!")
quit()
elif t3.xcor() >= 180:
print("Turtle 3 won the race")
quit()
I hope this helps!
Answer:
if you mean to set a speed. Im not sure. however, move turtle.forward(random number) i can do
import turtle
import random
random_int = random.randint(20, 1000)
win = turtle.Screen()
turtle_1 = turtle.Turtle()
turtle_1.forward(random_int)
win.mainloop()
What are the key components to planning a presentation?
Check all that apply:
audience
conclusion
methods
purpose
thesis
title
topic
1,3,4,7 just took on edge
Answer:
1 3 4 7
Explanation:
A new computer virus attacks a folder consisting of 200 files. Each file gets damaged with probability 0.2 independently of other files. What is the probability that fewer than 50 files will get damaged? g
Answer:
0.95345
Explanation:
Given that :
Number of files (n) = 200
Probability of getting damaged (p) = 0.2
q = 1 - p = 1 - 0.2 = 0.8
using normal approximation:
Mean (m) = np = 200 * 0.2 = 40
Standard deviation (s) = √n*p*q= √(200 * 0.2 * 0.8) = 5.6568542
P(X < 50)
X = 50 - 0.5 = 49.5
Find the standardized score :
Z = (x - m) / s
Z = (49.5 - 40) / 5.6568542
Z = 9.5 / 5.6568542
Zscore = 1.6793786
P(Z < 1.6793) = 0.95345 ( using Z probability calculator)
What will be the output of the following lines of code and the user’s response?
>>> answer = input("What does your dog weigh? ")
What do you weigh? 85.7
>>> weight = int(answer)
>>> print("The weight is" , weight)
An error occurs.
The weight is 85.7
The weight is 85
The weight is 86
Answer:
An error occurs.
Explanation:
You cannot pass a string representation of a float ("85.7") into an int conversion, you'd have to convert it into a float first.
So weight = int(float(answer)) would work.
Answer: an error occurs
Explanation: got it right on edgen
What are the letter that go under each note?
Answer:
A, B, C, D, E, F, G pls mark me brainliest see explanation below
Explanation:
those are the letters if you search up letters for music you can find them way easier than me explaining and you will also learn faster. please mark me brainliest
Answer:
a b c d e f g
Explanation:
Before inserting a cover page or a blank page, where should the cursor be placed?
O at the end of the first line on the page to insert the new page after it
at the end of the last line on the page to insert the new page before it
at the beginning of the last line on the page to insert the new page after it
O at the beginning of the first line on the page to insert the new page before it
Answer:
At the beginning of the first line on a page to insert the new page before.
Explanation:
if you need more assistance please let me know.
cheers
Answer:
D. at the beginning of the first line on the page to insert the new page before it
Explanation:
What music form states a musical theme and then changes it in the next sections?
Answer:
musical varations
Explanation:
where it goes from one sound to another
what are output devices ?
name them
Answer:
Monitor.
Printer.
Headphones.
Computer Speakers.
Projector.
GPS.
Sound Card.
Video Card.
Explanation:
Mingji is working to transfer photos from her digital camera to her computer. While
reading her camera's user manual, she sees that she doesn't need to use a USB cord to
make the transfer. What type of digital camera does Minji have?
Answer:
digital camera with bluetooth
Explanation:
Bluetooth is defined as a wireless technology with the help of which data and information such any images, documents, files, etc can be send to other devices equipped with bluetooth technology over a short distance with the use of UHF radio waves.
Bluetooth technology help in exchanging data with out the use of a USB cable.
In the context, Minji is having a digital camera with bluetooth technology as she can transfer her photos from the camera to the computer with out the help of any USB chord.
30 points! Help me out, please! I need help with this!
Answer:
Both are touchscreen.
Tablets are seen more as an entertainment device (tv, games, etc.).
Phones are smaller, and used more for everything; you can take phones anywhere you go, whereas tablets are more difficult to transport.
Write a program that asks the user to enter 2 words, then prints "Great!" if the two words are identical, "Close enough" if they are the same length and all but the last letter matches, and "Try again" otherwise.
java, desperate fr
Answer:
System.out.println("Enter 2 strings:");
Scanner scan = new Scanner(System.in);
String a = scan.nextLine();
String b = scan.nextLine();
int c = a.length();
int d = b.length();
String e = a.substring(0, a.length()-1);
String f = b.substring(0, b.length()-1);
if (a.equals(b)){
System.out.println("Great!");
}
else if (c== d && e.equals(f)){
System.out.println("Close enough");
}
else{
System.out.println("Try again");
}
}
}
Explanation:
Following are the java program to comparing the words:
Program Explanation:
Import package.Defining the main class.Defining the main method.Inside the main method two string "f,s" is declared that uses input method to input value.After input value multiple conditional statement is declared that checks inputs value.In the if block, it checks first string value equal to second value, if it is true it will print a message "Great!".In the else if block it checks string value that has same length, for this it uses "l" variable that checks length value, and the print the message "Close enough".In the else block, it will print the message "Try again".Program:
import java.util.*;//import package public class Main //defining a class { public static void main(String[] ars) //defining main method { String f,s;//defining String variable Scanner obc=new Scanner(System.in);//creating Scanner class object System.out.print("Enter First word: ");//print message f=obc.next();//input value System.out.print("Enter Second word: ");//print message s=obc.next();//input value if(f.equals(s))//use if to check input string value are equal System.out.println("Great!");//print message else if(f.length()==s.length())//using else if block that checks string value has same length { int c=0;//defining integer variable int l=f.length();//defining integer variable l that holds first string length value for(int i=0;i<l;i++) //using for loop to compare string value { if(f.charAt(i)==s.charAt(i))//use if to compare string by using charAt method c++;//incrementing c value } if(c==l-1 && f.charAt(l-1)!=s.charAt(l-1)) //comparing string { System.out.println("Close enough");//print message } } else //defining else { System.out.println("Try again");//print message } } }
Output:
Please find the attached file.
Learn more:
brainly.com/question/20875119
bvbmb
The internet's data gathways rely on what kind of hardware devies to route data to its destination?
Answer:
router
Explanation:
Select all that apply.
What features must be completed from the Master Page screen?
Inserting headers or footers
Inserting a watermark
changing the template
Inserting a table
Answer:
Inserting headers or footers Inserting a watermarkExplanation:
A Master Page is a page which can be used with the majority of the documents of your paper as a reference. Master pages may have visuals elements, such as headlines, footers, column headings, etc that occur on all publishing pages.
An array is another name for a list.
True or false. With explanation.
Answer:
True
Explanation:
An array could state a particular or indefinite number of items in order. The word is also synonymous to list
Answer:
True
Explanation:
in which step of web design is storyboarding helpful?
a
Coding
b
Editing
c
Planning
d
Publishing
Answer:
the soup become too salty through the process of osmosis system specific message and you can get my points
Explanation:
his email address is going to change your notification delivery settings for Corona CA and you know that
A scatter plot can be used with both numerical and non numerical values. True or False?
Answer:
true
Explanation: