Answer:Attributes, Methods
Explanation: According to the object-oriented programming, attribute serves as the purpose for defining the an elements features and functioning.It is usually in the form of collection of objects and also known as object's member variable.
Method in the OOP's concept is defined as technique that works on the object that consist of some data and certain features.It also clarifies about the usage or utilization of that data message according to their behavior.
Saturn contains three layers of clouds. The upper layers of ammonia ice have temperatures ranging from minus 280 F to minus 170 F. The next layer contains water ice, with temperatures from minus 127 F to 26.Temperatures in the lower layers climb as high as 134 F.
Answer:
- def longest(L):
- for x in L:
- if(len(x) % 2 == 0):
- if(x.endswith("ing")):
- return x
- return ""
-
- print(longest(["Playing", "Gaming", "Studying"]))
Explanation:
The solution is written in Python 3.
Firstly, create a function longest that takes one parameter L as required by question (Line 1).
In the function, create a for loop to traverse through each string in L and check if the current string length is even (Line 2 - 3). If so, use string endwiths method to check is the current string ended with "ing". If so return the string (Line 4-5).
At last, test the function by passing a list of string and we shall get the output "Gaming".
El Nino is a meteorogycal phenomenom that affects certain areas . My best guess is that computers are used to map in which areas and patterns this phenomenom affects.