Question: Compare the given strings and display the string that comes alphabetically first. 1 let friendName1 = Ann; // Code will be tested with different

Compare the given strings and display the string that comes alphabetically first.


Compare the given strings and display the string that comes alphabetically first. 1 let friendName1 = "Ann"; // Code will be tested with different names 2 let friendName2 = "Anthony"; // Code will be tested with different names 3 4/ Your solution goes here */ 5

Step by Step Solution

3.49 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Here is a Python program that compares the given strings and di... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!