For and while in Python

Example: traversing a string with a FOR seq = “Diego” for letter in seq: print(“Letter :”, letter) Letter : D Letter : i Letter : e Letter : g Letter : o Example: traversing an array with a FOR data = [“pears”, “apples”,...

Python function

Function example 1 Function that adds two numbers entered per parameter def my_sum(n1, n2):     total = n1 + n2     print (total) my_sum(1,2) 3   Function example 2 Function that returns two numbers passed as a list def my_sum(n1, n2): return n1 + n2 data = [1,...

Apache Hadoop

Hadoop definition Apache Hadoop is a distributed system that allows to carry out processing of large volumes of data through cluster, easy to scale. Broadly speaking, it can be said that Hadoop is composed by two parts: Data storage of different types (HDFS) Performs...