Software testing is a good option for adopting as a career. We tell you here some information of software testing. You can get here information about the future scope of software testing
What is python
Python is a high-level, object oriented programming language that is dynamically typed. It is simple and has fairly easy syntax, yet very powerful, making it one of the most popular programming languages for various applications.
What are the key features of Python
print('This will be printed even though the next line is an error')
Print()#this should return an error
Output:>
This will be printed even though the next line is an error
Traceback (most recent call last):
File "< ipython-input-21-1390f7d30421 >", line 2, in < module >Print()
NameError: name 'Print' isnot defined
As seen above, the first line was printed, then the second line returned the error.
Python is dynamically typed: This means that the variable type does not have to be explicitly stated when defining a variable and these variables can be changed at any point in time. In Python, the line of code below works perfectly.
x = 3 #this is an integer
x = ‘h2kinfosys’ #this is a string
x has been dynamically changed from an integer to a string