Posts

technoentertainer

ETHICAL HACKING

Image
                       Hacking means finding a new ways to crack the network or server. Ethical hacking is to defend or protect the attack from the hackers.   Ethical hacking involves an authorized attempt to gain unauthorized access to a computer system, application, or data. Carrying out an ethical hack involves duplicating strategies and actions of malicious attackers. This practice helps to identify  security vulnerabilities  which can then be resolved before a malicious attacker has the opportunity to exploit them.   TYPES OF ETHICAL HACKING: -> WEB APPLICATION HACKING ->SYSTEM HACKING -> WEB SERVER HACKING -> HACKING WIRELESS NETWORKS -> SOCIAL ENGINEERING PHASE OF ETHICAL HACKING: Reconnaissance: First in the ethical hacking methodology steps is reconnaissance, also known as the footprint or information gathering phase. The goal of this preparatory phase is to collec...

TUPLE IN PYTHON

Image
                Hi guys, In previous blog, I am discussed about lists. Today, I am going discussed about Tuple. It is an interesting topic, Tuple is a set of elements enclosed within parenthesis. Python tuples are a data structure that store an ordered sequence of values. Tuple are immutable(not changeable).Tuple are used to store multiple items in a single variable. It is defined as "( )". The following program can understand how tuple is defined. #EXAMPLE >>> my_tuple=('p','e','r','m','i','t') >>> print(my_tuple[0]) #OUTPUT 1: p >>> print(my_tuple[3]) #OUTPUT 2: m                        Keep supporting my blog, share my blog more and more possible. If you like blog comment it, share it and follow it. I will give more update for you guys.

LIST IN PYTHON

Image
                    In this blog, we are going see about list in the language of python programming. List is the set of elements enclosed within the square brackets. It is denoted as '[]'.The set of elements stored in the square bracket is belongs to the lists. List is the built-in-data type function . List are used to   store multiple items in a single variable. The following program can understand how list can be determined. #EXAMPLE >>> my_list=['p','r','o','b','e'] >>> print(my_list[0]) #OUTPUT 1: p >>> print(my_list[2]) #OUTPUT 2: o #OUTPUT 3: >>> print(my_list[4])             This is the best example for list, try it yourself and keep practising guys. Keep following our blog.  I will give more update of this python program.  

COMPOSITION FUNCTION IN PYTHION

Image
                     In this blog, I am going discussed about composition function. Composition function is the function which is the input has to be invoked to the another function to get the value. These function are used to minimize the size of the program. The following program for composition function is given below. >>> def add(x): return x + 2 >>> def multify(x): return x * 2 >>> print(add(multify(5))) #OUTPUT 12

BUILT IN FUNCTION USING TYPE() IN PYTHON

Image
                     In this blog, I am going discussed about how to use type() function in python. Built in function is the function already there in the interpreter of the user. Which is already written by the coder. Type() function can be used to identified the data type of a value. Below program can be explain the type() function. >>> import math >>> x=4 >>> y=4.5 >>> print("the data type of x:",type(x)) >>> print("the data type of y:",type(y)) #OUTPUT the data type of x: <class 'int'> the data type of y: <class 'float'>

LOCAL SCOPE IN PYTHON

Image
                In this blog, I am going discuss about local scope in python. Local scope is the variable can be determined inside the function in which it display as a output. This local scope can ruled inside the function. Below program can be explained as a local scope. #DEMO PROGRAM OF LOCAL SCOPE >>> def cube(base): result = base ** 3 print(f'The cube of {base} is: {result}') >>> cube(30) #OUTPUT The cube of 30 is: 27000 courtesy: www.jcchouinard.com #ERROR PROGRAM >>> def cube(base): result = base ** 3 >>> cube(30) print(f'The cube of {base} is: {result}') #NAME ERROR: CALLING FUNCTION IS NOT DEFINED

BOOLEAN VALUE IN PYTHON

Image
                          In this topic, I am going explained about to find Boolean value in python. Boolean value is the type of literals. Boolean value are give only true or false. It is also called as a relational operator. These values are compare with the and gate, or gate , nor gate. The following program are given below. >>> boolean_1=20 >>> boolean_2=30 >>> print("demo program of boolean literals") demo program of boolean literals >>> print("boolean value 1:",boolean_1) boolean value 1: 20 >>> print("boolean value 2:",boolean_2) boolean value 2: 30  

PATTERN PROGRAM IN PYTHON

Image
                          In this blog, I am going show you the interesting pattern program in python. It is fascinating to see that it is in three or five lines to makes this program. How amazing it is! we can print the square symbol program. Pattern was so simple that is in triangle. Demo program is given below.    for i in range(4): for j in range(4): print("#",end=" ") print() #OUTPUT # # # #  # # # #  # # # #  # # # # 

NESTED LOOP IN PYTHON

Image
                     In my latest blog, I am going to teach the nested if concept. Nested loop is the combination of for and while loop. It is iteration statement or looping statement. Iteration statement is the condition is verified several multiple of times to executes the output. Demo example of nested if is given below. >>> i=1 >>> while(i<=6): ...     for j in range(1,i): ...             print(j,end='\t') ...     print(end='\n') ...     i +=1 #OUTPUT 1 1       2 1       2       3 1       2       3       4 1       2       3       4       5

SIMPLE IF IN PYTHON

Image
                          In my today's article, I am going to teach the simple if concept. In control structure, there are three types that is sequential, alternative, and iteration. In the sequential , simple if statement are used in python programming. Simple If statement is the condition should be true to display in the screen. Or else it will not display in the screen. Demo program of simple if is given below. >>> x=int(input("enter your age:")) enter your age:34 >>> if x>=18              print("you are eligible to vote")  #output1 you are eligible to vote #output2 enter your age:16 >>> #Program ends