-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprogram_1.py
More file actions
15 lines (9 loc) · 726 Bytes
/
program_1.py
File metadata and controls
15 lines (9 loc) · 726 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
def addition_of_two_numbers(number1,number2): # A function definition for addition of two numbers
return number1 + number2 # returning the addition of two numbers
problem_1 = addition_of_two_numbers(5,3) # Calling the function for input 5 and 3
problem_2 = addition_of_two_numbers(100,5000) # calling the function for input 100 and 5000
# A sample program for learning the python programming language
print("namaskara programming python") # printing a string
print("Go through it man early steps takes time") # printing a string
print(problem_1) # printing the output
print(problem_2) # printing the output