-
Notifications
You must be signed in to change notification settings - Fork 0
/
Hello_world.py
65 lines (48 loc) · 922 Bytes
/
Hello_world.py
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
print("Hello, Bhavin !");
print("\n")
print('* * * * *')
print('* *')
print('* *')
print('* * * * *')
print("\n")
print(' # ')
print(' * * ')
print(' + + ')
print(' + + ')
print(' + + ')
print(' * * ')
print(' # ')
print("\n")
x = 6;
y = 5;
z = x + y;
print(x+y)
print(z)
print(x-y)
print(x)
print(x*y)
print(x/y)
print('ADDITION = ',x+y, ', ' 'SUBSTRACTION = ',x-y, ', ' 'MULTIPLICATION = ',x*y)
print("\n")
name = "Bhavin Zala"
dName = "ICT"
print("My Name is " + name, "My Deprtment Name is " + dName)
print("\n")
print(1, end=' ')
print(2, end=' ')
print(3, end=' ')
print("\n")
print(4, end=' ')
print(5, end=' ')
print(6, end=' ')
print("\n")
print(7, end=' ')
print(8, end=' ')
print(9, end=' ')
p = [4,5,6]
q = [1,2,3]
print(p, end='|')
print("\n")
print(q, end='|')
print("\n")
print(p+q)