Explanation:
HTML displays data and describe the structure of a webpage while XML stores and transfers data.
//Program
====================
librarian1.py
==============
# make a empty list to add user input names
lst = []
for i in range(5):
# take input from the user
auth = input("Name: ")
# append user input name into the list
lst.append(auth)
# sort the list
lst.sort()
# print the list
print(lst)
==============================================
//Output
Answer:
It throws an error.
the public class needs a name.
like this:
public class G{ public static void main(String[] args) {
int x=5 , y = 10;
if (x>5 && y>=2) System.out.println("Class 1");
else if (x<14 || y>5) System.out.println(" Class 2");
else System.out.println(" Class 3"); }// end of main
}
if you give the class a name and format it, you get:
Class 2
Explanation:
Answer:
For the first picture, choose the second pair, and for the second one, choose the first pair
Explanation: