Answer:
The output is attached below
Explanation:
d = {}
while True:
line = input("Enter line: ")
if len(line)==0:
break
token = line.split(' ')
for var in token:
try:
if len(var)==0:
continue
count = d[var]
d[var] = count + 1
except KeyError:
d[var] = 1
pass
for word in sorted(d):
print(word , d[word])
------------------
Answer:
There is an error in "String s=s1-s2 ";
Explanation:
In java programming, we can subtract subtract two strings variable with "-" operator.Java programming does not support an overload of the '-' operator.In java, we can use only "+" operator to append two strings variable.There is no such method to subtract strings in java.Therefore in the given code String s=s1-s2 will give an "bad operand type" error because we can not subtract one string variable from the second string variable.
When somebody writes the answer for your question and posts it on your question it will show a “(crown)mark as brainliest” in blue. click it and it’ll turn yellow and mark the person the brainliest for your question
Answer:
There are two customers in the PostalCode.
SQL statement for select all the fields and the rows from the Customers table where PostalCode is 44000.
SELECT * FROM Customers WHERE PostalCode = "44000";
Explanation:
The SELECT statement retrieve zero or more than one row from 1 or more than one the database tables or the database views.
In most of the applications, the SELECT query is most commonly used for DQL(Data Query Language) command.
SQL is the declarative programming language and the SELECT statement specifies the result set, but they do not specifies how to calculate it.
<span>To reduce chances of system failure, engineers may use process control. This is a system which involves activities that ensures the whole process variables can be predicted and controlled to prevent failure. This involves the use of safety valves and sensors.</span>