Selenium java | Python | AWS | AZURE | SQL | Full stack course | Testing | Devops
Відкрити в Telegram
Paid courses Available...... #SQL&RDMS #full stack java #java course #spring boot #UI technologi #software testing #Angular #AWS #AZURE #MySql #Devops
Показати більше2 656
Підписники
Немає даних24 години
+107 днів
+5030 днів
Архів дописів
In Python, 'Hello', is the same as "Hello"
What is the correct way to create a function in Python?
What is the correct syntax to output the type of a variable or object in Python?
How do you create a variable with the floating number 2.8?
What is the correct file extension for Python files?
Which one is NOT a legal variable name?
How do you insert COMMENTS in Python code?
What is a correct syntax to output "Hello World" in Python?
Python exam i will conduct by Today
Hello guys I will conducted by tomorrow afternoon Testing quiz exam are interested
How do you create a variable with the floating number 2.8?
How do you create a variable with the numeric value 5?
Which data type is used to create a variable that should store text?
How do you insert COMMENTS in Java code?
Java is short for "JavaScript".
JAVA INTRODUTION
Python Install
Many PCs and Macs will have python already installed.
To check if you have python installed on a Windows PC, search in the start bar for Python or run the following on the Command Line (cmd.exe):
C:\Users\Your Name>python --version
To check if you have python installed on a Linux or Mac, then on linux open the command line or on Mac open the Terminal and type:
python --version
If you find that you do not have Python installed on your computer, then you can download it for free from the following website: https://www.python.org/
Python Quickstart
Python is an interpreted programming language, this means that as a developer you write Python (.py) files in a text editor and then put those files into the python interpreter to be executed.
The way to run a python file is like this on the command line:
C:\Users\Your Name>python helloworld.py
Where "helloworld.py" is the name of your python file.
Let's write our first Python file, called helloworld.py, which can be done in any text editor.
helloworld.py
print("Hello, World!")
Simple as that. Save your file. Open your command line, navigate to the directory where you saved your file, and run:
C:\Users\Your Name>python helloworld.py
The output should read:
Hello, World!
Python course introduction
Accessing data present in an array
Ex: int[] marks = {50,60,70,80} Syntax:- array[index] Ex:- Marks[0]=>50 Marks[3]=>80
Syntax of declaring an array:
Datatype [] Variable Name={val1,val2....}
