Answer:
i is a variable used to store information in this case the number 0. The i is then added to repeatedly to create a list.
Write a program that reads two integers, checks if a digit repeats 3 times in a row in the first integer and that same digit repeats two times in a row in the second integer.
Answer:
first_num = input("Enter integer digits (should be four or more digits): ")
sec_num = input("Enter integer digits (should be four or more digits): ")
num = '3'
if
def count_check( digit):
if (digit * 3) in first_num and (digit * 2) in sec_num:
print(True)
else:
print(False)
count_check(num)
Explanation:
The python source code above receives two values assigned to variables "first_num" and "sec_num" and defines a function called count_check to check if a digit occurs three consecutive times in the first input and two in the second to print a value of true or false otherwise.
import java.util.Scanner;
public class PigLatin {
public static void main(String args[]) {
Scanner console =new Scanner(System.in);
System.out.println("Please enter a word");
String phrase=console.nextLine();
System.out.println(eachWord(phrase));
}
public static String eachWord(String phrase) {
String help[]=phrase.split(" ");
for(int i=0; i
if (help[i].charAt(0) == 'a'){
return help[i] + "-ay";
}
if (help[i].charAt(0) == 'e'){
return help[i] + "-ay";
}
if (help[i].charAt(0) == 'i'){
return help[i] + "-ay";
}
if (help[i].charAt(0) == 'o'){
return help[i] + "-ay";
}
if (help[i].charAt(0) == 'u'){
return help[i] + "-ay";
}
if (help[i].charAt(0) == 'A'){
return help[i] + "-ay";
}
if (help[i].charAt(0) == 'E'){
return help[i] + "-ay";
}
if (help[i].charAt(0) == 'I'){
return help[i] + "-ay";
}
if (help[i].charAt(0) == 'O'){
return help[i] + "-ay";
}
if (help[i].charAt(0) == 'U'){
return help[i] + "-ay";
}
else {
return help[i].substring(1)+"-"+help[i].charAt(0)+"ay";
}
}
return "aoujbfgaiubsgasdfasd";
}
I need help with this Pig Latin Program. I want to split the string so each word can run through the method eachWord. I don't know how to revamp this!
Answer:b
Explanation:
I took quiz
Answer:
uuuuuuuuuuhhm
Explanation:
CODE!
Erin’s classmate said that the program that they were working on is not running properly because the classmate accidentally put in commas where semi-colons should be. What kinds of errors does Erin need to fix?
logic errors
database errors
debugging errors
syntax errors
Answer:
A simple syntax error :)
"A character or string incorrectly placed in a command or instruction that causes a failure in execution."
Good luck! Hope this helped! :D
The kinds of errors does Erin need to fix is a simple syntax error.
What is syntax error?Syntax is a character or string when incorrectly placed in a command or instruction results in failure while executing.
Erin’s classmate said that the program that they were working on is not running properly because the classmate accidentally put in commas where semi-colons should be.
The correct way to remove syntax error is putting colon and semicolon on the right place.
Learn more about syntax error.
https://brainly.com/question/18271225
#SPJ2
Question # 1
Multiple Select
You already now about some collections. Which of the following is a type of collection in Python? Select 2 options.
group
dataset
ordered set
list
deque
Answer:dataset
Explanation:
data set because it is kida a set
Answer:
A list, and a deque.
Explanation:
Why am i right? Because i am.. TRUST ME ITS RIGHT YW EVERYONE! :3
Use the factorial operation to evaluate 4!.
24
1
4
10
Answer:
4! = 4 x 3 x 2 x 1
= 24
Answer is 24.
Answer:
24
Explanation:
EDGE 2022
Choose the word that matches each definition.
1 - ISP
2 - HTTP
3 -URL
Answer:
1 - Internet Service Provider
2 - Hypertext Transfer Protocol
3 - Uniform Resource Locator
Explanation:
convert the decimal number 191 into an binary number
Answer:
Binary: 10111111
Explanation:
The resistance in a particular kind of circuit is found using this formula: R1(R2)R1+R2.
Assuming all the variables are non-zero, which line of code will find the value of the resistance?
resistance = (R1 * R2) / (R1 + R2)
resistance = R1(R2) / R1 + R2
resistance = R1(R2) / (R1 + R2)
resistance = R1(R2) / (R1 + R2)
Answer:
resistance = (R1 * R2) / (R1 + R2)
Explanation:
PYTHON doesn't recognize multiplication like this example >> 3(4)
This is why PYTHON uses this symbol (*)
write some positive and negative impacts of computer in our daily life
why are media conductors needed in computer network?
Answer:
Transmission media connectors attach directly to the medium itself and serve as the physical interface between cabling and network nodes.
Explanation:
Answer:
masamstha 31 is correct hope it's help you have a good day
What does a file association specify?
A) the software needed to open a file
B) the file’s author
C) the file’s directory path
D) a list of related files
Answer:
A) the software needed to open a file
Explanation:
The software needed to open a file is specified by file association. Option A is correct.
What is the file association?A file association in computing links a file with an application that may open it. A file association more frequently links a group of files to the appropriate program. The file association identifies the program required to open a file.
The practice of capitalizing the first letter of each word in a name. Specifies the program that the Windows operating system should use to open the file. Windows' method of associating a program name extension with a file name.
Under this, Extensions are crucial since they inform the computer about the file's icon and the program that may open it. Like, a file with the extension “doc” indicates to your computer that it is a Microsoft Word file.
Therefore, option A is correct.
Learn more about the file association, refer to:
https://brainly.com/question/14287892
#SPJ2
Taylor needs to remove the text to the left of his cursor. Which of the following keys should he press?
Answer:
bacspace not delete
Explanation:
delete erases on the right not left
Backspace he should press to remove the text to the left of his cursor.
What is cursor?
A cursor is an indicator used in computer user interfaces to show the current position for user interaction on a computer monitor or other display device that responds to input from a text input or pointing device. Because of its usage resemblance to a pointing stick, the mouse cursor is also known as a pointer. Cursor is a Latin word that means "runner." The transparent slide engraved with a hairline that is used to mark a point on a slide rule is known as a cursor. By example, the word was later transferred to computers. On November 14, 1963, while attending a computer graphics conference in Reno, Nevada, Douglas Engelbart of the Augmentation Research Center (ARC) expressed his desire to pursue his goal of developing both software and hardware computer technology to "augment" human intelligence by pondering how and where to adapt the underlying principles of the planimeter to inputting X- and Y-coordinate data.
To learn more about cursor
https://brainly.com/question/12406758
#SPJ2
Which of the following is an example of a database?
A. the names and ages of children
B. the title of a book
C. a word that rhymes with bat
D. the name of the most recent U. S. president
Answer:
the names and ages of children
Name any two operating systems you know.
Answer:
software and hardware
what is the meaning of .com in computer
Answer:
The answer to this question is given below in the explanation section.
Explanation:
The terms ".com" is the most common term that you see at the end of the domain name. This term is most widely used in computers and in websites. The dot com ".com" is a suffix and most common suffix in website addresses.
Furthermore, the term ".com" is short for a commercial for many educational, personal, profit, and non-profit websites. The reason behind using .com as a suffix in a website name is that it is most common and recognizable.
You can buy a website domain with dot com ".com" suffix from many website hosting companies. The companies that using dot com in their website name they are mostly doing business on the internet.
Write a python program to input money in Bahrain dinar and find out number of denominations can be used to make that money.
For example: -
Enter total money in BD: 76
Then the output Should be :
No.of 20 BD : 3
No.of 10 BD : 1
No.of 5 BD : 1
No.of 1 BD : 1
Pls answer fast
n = int(input("Enter total money in BD: "))
n20 = n//20
n10 = (n-(n20*20))//10
n5 = (n - ((n20*20)+(n10*10)))//5
n1 = (n - ((n20*20)+(n10*10) + (n5*5)))//1
print("No. of 20 BD: "+str(n20))
print("No. of 10 BD: "+str(n10))
print("No. of 5 BD: "+str(n5))
print("No. of 1 BD: "+str(n1))
Answer: There are various ways to earn money online in Bangladesh. Here are some options you can explore:
Freelancing: Freelancing is one of the most popular ways to earn money online in Bangladesh. You can offer your skills and services on various freelance platforms such as Upwork, Fiverr, and Freelancer. You can offer services such as content writing, graphic designing, web development, data entry, and more.
Affiliate marketing: You can earn money by promoting products and services through affiliate marketing. You can join affiliate programs of various companies such as Amazon, Clickbank, and ShareASale and earn commission on the sales made through your unique affiliate link.
How can you continue learning about computer science and improve your coding abilities?
Answer:
5 Ways to Improve Your Coding and Programming Skills
Take advantage of books and other free resources. ...
Sign up for a bootcamp. ...
Practice, practice, practice. ...
Engage with the computer science community. ...
Pursue a formal education in computer science.
Considering there are 2 dictionaries, one with the name of the person and the stock name and number of stocks they have and the other dictionary has the stock name and it’s today’s market value -
Ex: a = { “Joe” :{“AAPL”:5, “AMZN”:2}, ”Bill” :{“AAPL”:2, “AMZN” :5 }}
B = {“AAPL” : 227, “AMZN” :1721 , “NFLX” : 267 , “TSLA” : 244, “FB” : 179 }
Write a Python program to find the amount of money each person makes by selling all of their stock today, and who will get the most value
a = {"Joe": {"AAPL": 5, "AMZN": 2}, "Bill": {"AAPL": 2, "AMZN": 5}}
B = {"AAPL": 227, "AMZN": 1721, "NFLX": 267, "TSLA": 244, "FB": 179}
total = 0
largest = 0
for x in a:
for w in a[x]:
total += a[x][w] * B[w]
a[x] = total
if total > largest:
largest = total
print("{} will have ${}".format(x, total))
for x in a:
if a[x] == largest:
print("{} will get the most value".format(x))
I hope this helps!
Choose the proper term to describe each of the following examples.
senate.gov:____
23.67.220.123:_____
SMTP acc name
Domain name
IP address
Answer:
senate.gov: Domain Name
23.67.220.123: IP Address
Explanation:
We need to choose the proper term to describe:
a) senate.gov
It is called Domain Name
The domain name is a component of a URL (uniform resource locator ) used to access web sites
b) 23.67.220.123
It is called IP address.
IP address is defined as unique string of characters that is used to uniquely identify each computer in the network.
Jack is using a document that has multiple references to his company as Company ABC, LLC. He would like to change these values to CompanyABC, LLC. What is the easiest way to do this?
Answer:
C. Press CTRL to access the Find and Replace dialog box.
Explanation:
yuh yuhuhu edge 2020 gang gang
Which statement about technology before the invention of the printing press is true?
Answer: See explanation
Explanation:
You didn't give the options to the question and I searched and couldn't find the particular question.
Here, are some of the things about technology before the invention of the printing press.
1. Before printing press, monks copied books such as bibles as they'll copy calligraphy and illustrations in order for them to spread the messages in the Bible across to people.
2. Before printing press, oral communication was the way that people communicated with each other.
3. Drawings and writings were done by hand before printing press.
4. Before the invention of printing press, in order to transcribe books, different materials that were used include wax, parchment, clay and papyrus.
What will you see on the next line? >>> int(6.5)
Answer:
6
Explanation:
The int functions founds down to the nearest whole number, which in this case would be 6.
Answer:
6
Explanation:
Please I need 26 examples of hybrid search engines?
Answer:
Google, Bing, Yahoo, Yandex, Duck Duck Go!, Baidu, Ask, Naver, Alta Vista, Hotbot, AOL, AllTheWeb, Exite, Mahalo.
The most commonly used auxiliary storage device(s) is/ are _____.
a.
floppies and tapes
b.
a filing cabinet
c.
hard disks and floppies
d.
tapes and hard disks
Answer: A
Explanation:
I WILL GIVE BRAINLIEST TO WHO ANSWERS FIRIST AND CORRECT
How are blogs and wikis alike?
accessible 24/7
telecommunications technology
collaboration tool
available online
used for online dialog
increase business productivity
Answer:
accessible 24/7
available online
increase business productivity
telecommunications technology
Blogs and wikis alike because they are:
Accessible 24/7.Available online.Increase business productivity.Telecommunications technology.What are blogs?A blog is known to be a short word for “weblog”. This is known to be a kind of an online journal that is also said to be an informational website where one can get Infor on different subject.
Conclusively, Note that Blogs and wikis alike because they are Accessible 24/7 and one can get any information they want from it to increase business productivity.
Learn more about Blogs from
https://brainly.com/question/3653791
#SPJ2
What affect did the Scopes trial have on the school curriculum in Tennessee?
It changed the curriculum to include creationism in science classes.
It did not change the curriculum because Bryan died shortly after the trial.
It changed the curriculum to include evolution in science classes.
It did not change the curriculum because Scopes lost the case.
The effect that Scopes trial had on the school curriculum in Tennessee is that
It did not change the curriculum because Scopes lost the case.The Scopes trialThe scopes trial was a trial that involved a high school teacher called Scopes and the government of the United States.
This trial took place at the time where the US was subject to very serious Christian beliefs.
The reason for the trials was that Scopes had taught evolution in the classroom.
Read more on the Scopes trial here:
https://brainly.com/question/874883
Write the code in python to ask the user to input two integers. Your program will then print the greatest common divisor of the two integers. Look at the math module for a function that will help you find the greatest common divisor.
import math
num1 = int(input("Enter a number: "))
num2 = int(input("Enter a number: "))
print(math.gcd(num1, num2))
The gcd() - greatest common divisor function, which is part of the math module works perfectly in this situation.
If you draw strength from video games, how?
Answer:
I really dont know
Explanation:
Thank u for the pts tho < :)
4.9 Code Practice: Question 2
Instructions
Write code using the range function to add up the series 20, 30, 40, ... 90 and print the resulting sum each step along the way.
Expected Output
20
50
90
140
200
270
350
440
total = 0
for x in range(20,91,10):
total += x
print(total)
I hope this helps!
Answer:
sum = 0
for i in range (20, 91, 10):
sum += i
print(sum)

Help me please I need the correct answe
Pretty much, yeah.
if it's wrong just pick false.