Python On Google Colaboratory
Python is an interpreted, high-level, general-purpose programming language. Created by Guido van Rossum and first released in 1991, Python has a design philosophy that emphasizes code readability, notably using significant whitespace. It provides constructs that enable clear programming on both small and large scales.
Python is a general purpose programming language. Hence, you can use the programming language for developing both desktop and web applications. Also, you can use Python for developing complex scientific and numeric applications. Python is designed with features to facilitate data analysis and visualization.
Link:-https://colab.research.google.com/notebooks/welcome.ipynb
1):-
print("Hello, World!")
2):-
if 5 > 2:
print("Five is greater than two!")
3):-
#This is a comment. print("Hello, World!")
Variables
x = 5
y = "John"
print(x)
print(y)
-------------------------------------------------------------------------------------
x = "Python is "
y = "awesome"
z = x + y
print(z)
y = "awesome"
z = x + y
print(z)
-------------------------------------------------------------------------------------
x = 5
y = 10
print(x + y)
-------------------------------------------------------------------------------------
No comments:
Post a Comment