-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathex-1.py
43 lines (33 loc) · 1.12 KB
/
ex-1.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
#!/usr/bin/env python
# import modules used here -- sys is a very standard one
import sys
# Gather our code in a main() function
def main():
#print 'Hello, World!'
#print 'Jack and Jill went up a hill'
#print 'Jack fell down, and broke his crown,'
#print 'and Jill came tumbling after.'
#print 'to fetch a pail of water;'
#print("2 + 2 is", 2 + 2)
#print("3 * 4 is", 3 * 4)
#print("100 - 1 is", 100-1)
#print("(33 + 2) / 5 + 11.5 is", (33 + 2) / 5 + 11.5)
#print()
#print("Firstish Grade")
#print("1 + 1 =", 1 + 1)
#print("2 + 4 =", 2 + 4)
#print("5 - 2 =", 5 - 2)
#print()
#print("Thirdish Grade")
#print("243 - 43 =", 243 - 43)
#print("12 * 4 =", 12 * 4)
#print("12 / 3 =", 12 / 3)
#print("13 / 3 =", 13 // 3, "R", 13 % 3)
print("My name is " + "Prasad " + "\nBirthday: " + "March 15th")
max(2132,112,32489.88)
# Command line args are in sys.argv[1], sys.argv[2] ...
# sys.argv[0] is the script name itself and can be ignored
# Standard boilerplate to call the main() function to begin
# the program.
if __name__ == '__main__':
main()