Answer & Explanation #1
To answer your first query. You can write a function that takes two arguments and returns their sum like this:
#Python program to add two numbers using a function
def add_num(a,b): #function for addition
sum=a+b
return sum #return value
num1=25 #variable declaration
num2=55
print("The sum is",add_num(num1,num2)) #call the function
Answer & Explanation #2
As for your error, I believe it is an indent error in your first return statement. All you must do is indent the return statement.
The process of Sending & Recieving messages without using any spoken words defines by NON-VERBAL COMMUNICATION
<h3>What is Non -Verbal Communication ?</h3>
- Nonverbal communication is a way of transfering the information through body language that includes facial expressions ,eye contact ,gestures organ senses etc.
- Mainly Open personality , friendliness , smiling when people meet each other , their accepting nature ,kindness .
- Everyone uses this nonverbal communication whether their languages , personalities,culture,religions are different .
Learn more about Non-verbal Communication here: brainly.com/question/1995115
Answer:
1. Wrong as per my knowledge, SQLite may be an electronic database software that stores data in relations(tables).
2. Wrong. Content provider interface controls the flow of knowledge from your android application to an external data storage location. Data storage is often in any database or maybe it'll be possible to store the info in an SQLite database also.
3.Right. SQLite uses one file to store data. It also creates a rollback file to backup the stored data/logs the transactions.
4. Wrong. The queries are almost like a traditional electronic database system, the queries are going to be answered as per the conditions given and should return a group of answers or one answer depending upon the info and sort of query used.
5. Right. A cursor helps to point to one entry within the database table. this may be very helpful in manipulating the present row of the query easily.
Input is that the security system relies on unauthorized motion of something coming accross for it to alert you. output is that once something is sense the light turns on.. the cat is a 1 and no cat is a 0 like 0 and 1s