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
sergiy2304 [10]
2 years ago
14

8.5 Edhesive Code Practice

Computers and Technology
1 answer:
Lynna [10]2 years ago
8 0

Answer:

Check explanation

Explanation:

#Print original quote

twainQuotes = ["I have never let my schooling interfere with my education.",

"Get your facts first, and then you can distort them as much as you please.",

"If you tell the truth, you don't have to remember anything.",

"The secret of getting ahead is getting started.",

"Age is an issue of mind over matter. If you don't mind, it doesn't matter. "]

print(twainQuotes)

#Sort and print

twainQuotes.sort()

print(twainQuotes)

#Insertion of quote, sort, then print

twainQuotes.extend(["Courage is resistance to fear, mastery of fear, not absence of fear."])

twainQuotes.sort()

print(twainQuotes)

mark as brainliest pls hehe

You might be interested in
Create and test a user-defined function named ufnFullName that combines the values of the two parameters named FirstName and Las
8090 [49]

Answer:

   public static String ufnFullName(String Fname, String Lname){

       String FullName = Fname+" "+Lname;

       return  FullName;

   }

Explanation:

Using Java programming language, the function is created to accept two String parameters (Fname and Lname)

These are concatenated into a new String FullName and returned by the function

See below a complete code that prompts users to enter value for first and last names then calls this method to display the full name

<em>import java.util.Scanner;</em>

<em>public class FullName {</em>

<em>    public static void main(String[] args) {</em>

<em>        System.out.println("Enter First Name");</em>

<em>        Scanner in = new Scanner(System.in);</em>

<em>        String Fname = in.next();</em>

<em>        System.out.println("Enter Last Name");</em>

<em>        String Lname = in.next();</em>

<em />

<em>        System.out.println("Your Full Name is "+ufnFullName(Fname,Lname));</em>

<em>    }</em>

<em>    public static String ufnFullName(String Fname, String Lname){</em>

<em>        String FullName = Fname+" "+Lname;</em>

<em>        return  FullName;</em>

<em>    }</em>

<em>}</em>

8 0
2 years ago
Write a program that asks the user to enter a birth year. the program should then indicate which generation a person of that yea
USPshnik [31]
Something like the following. Also you need to give what language you are using. Anyways, you should be able to convert this to your language of choice. 

<script type="text/javascript">
function checkGeneration() { 
   var gen = ["Baby Boomer ","Generation X","Xennials","Generation Y"];
   var reversestr = "";
   var getyear = window.prompt("Enter a 3 digit number: ");
    if (parseInt(getyear) <= 1964) {
        alert(gen[0]);   
    } else if(parseInt(getyear) <= 1979) {
        alert(gen[1]);
    } else if(parseInt(getyear) <= 1985) {
        alert(gen[2]);               
   }  else if(parseInt(getyear) <= 1995) {
        alert(gen[3]);
   }
 }
checkGeneration();
</script>
7 0
2 years ago
The __________ algorithm takes the ciphertext and the secret key and produces the original plaintext
Bad White [126]
The answer is decryption
8 0
2 years ago
Why would a user want to compress a large file before sending it as an email attachment?
Afina-wow [57]

to reduce the file size of the attachment

7 0
2 years ago
Read 2 more answers
What is SEO?<br> Training Live Online Instructor-Led Learning, https://www.peoplentech.com.bd/<br> ,
evablogger [386]

Answer:Search engine optimization (SEO) is the process of optimizing your online content so that a search engine likes to show it as a top result for searches of a certain keyword. ... When it comes to SEO, there's you, the search engine, and the searcher.

Explanation:

4 0
2 years ago
Other questions:
  • Computers spend most of their time in loops, so multiple loop itera- tions are great places to speculatively find more work to k
    10·1 answer
  • Match the following.
    8·2 answers
  • Assume the following JavaScript program was interpreted using staticscoping rules. What value of x is displayed in function sub1
    12·1 answer
  • Which command should you enter to configure a single port to discard inferior bpdus 200-125?
    5·1 answer
  • #We've started a recursive function below called #measure_string that should take in one string parameter, #myStr, and returns i
    5·1 answer
  • Which of the following information is most important to include in a timeline
    14·2 answers
  • You have just starting working at Quantum Company. As a new programmer, you have been asked to review and correct various pseudo
    14·1 answer
  • What power brake uses vacuum from the engine to aid in brake application?
    6·2 answers
  • 31. Explain what the program does. Write out the output 20 PRINT "Hellooo00000000000, world!" 30 PRINT "I'm learning about comma
    7·1 answer
  • A ___________ is a variable used to pass information to a method.
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!