-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
36 lines (30 loc) · 641 Bytes
/
main.py
File metadata and controls
36 lines (30 loc) · 641 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
print("Hey bro welcome to python")
print("Hello","world")
print("python "*2)
print("python\n"*2)
print("python "+"python")
name = "Sami"
age = 22
print("My name is", name, "and I am", age,"years old.")
# Variables and Data Types
_first_name = "John"
x = 4
y = x
x1 = 3.6
z = True
print(y)
print(type(_first_name))
print(type(x))
print(type(x1))
print(type(z))
x = str(x)
print(type(x))
pi = 3.14
radius = 4
area = pi *radius*radius
circumference = 2*pi*radius
print("Area of circle is:", area)
print("circumference of circle is:", circumference)
# comments in python
# This is a single line comment
""" This is a multi-lne comment"""