-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSession1.py
More file actions
49 lines (46 loc) · 1.03 KB
/
Session1.py
File metadata and controls
49 lines (46 loc) · 1.03 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
print(type(124j))
print(type(473))
print(type(2.50))
print(type(3j))
print(type("7 may not be seven"))
print(type("Jeremy come from sudan"))
print(type(424.0))
print(len("Jeremy come from sudan"))
print(len("7 may not be seven"))
a = 33
b = 200
if b > a:
print("b is greater than a")
elif a == b:
print("a and b are equal")
a = 200
b = 33
if b > a:
print("b is greater than a")
elif a == b:
print("a and b are equal")
else:
print("a is greater than b")
# let the two number be a(5) and b(7)
a = 5
b = 7
if a > b:
print("a is the greatest")
else:
print("b is the greatest")
# let the two number be a(2) and b(2)
a = 2
b = 2
if a == b:
print("a is equal to b")
else:
print("a is not equal")
L = float(input('Enter the length of a Rectangle: 30'))
B = float(input('Enter the breadth of a Rectangle: 6'))
Area: float = 30 * 10
print(("Area of a Rectangle is: %.2f" % Area))
a = '''Lorem ipsum dolor sit amet,
consecrate disciplining elit, sed
do usermod tempor incident ut
labor et do lore magna aliquot.'''
print(a)