I believe its "Thinking Universe"
Answer:
I’m not sure if you can only teachers can acess that
Explanation:
Answer:
Following is the difference between Simple and Compound statement; Simple statement (sentence) is one which has only one subject and one predicate. A Compound statement (sentence) is one which has two or more independent clauses consisting of their own subject and predicate.
Explanation:
hope it helps you
Mark as brainliest.
And follow for a follow back
Answer:
The program to this question as follows:
Program:
def lettersOnly(s): #defining method lettersOnly
val="" #defining string variable that return value
for i in s: #defining loop to calculate value
if(i.isalpha()): #check condition that value is string
val=val+ i #add value
return val #return value
print(lettersOnly("data3base_ro1c3k5s")) #call method and print value
Output:
databaserocks
Explanation:
In the above python code, a method lettersOnly is declared that accepts a string variable "s" in its parameter. Inside the method, a string variable "val", and loop is declared, in which the "val" variable holds method return value.
- In the loop and if block is used that uses "isalpha" string method, which checks the check alphabetic character in the given value. if this is true it will calculate all value in "val" variable and return its value.
- At the last, the print method is used, which calls the lettersOnly method and prints its return value.
Answer:
The method is as follows:
double square(int num){
return num*num;
}
Explanation:
Written in C++
This first line defines the method
double square(int num){
This line returns the square of num
return num*num;
}
<em>I've added the full program as an attachment where I include the main method</em>