Skip to content

Commit

Permalink
yohh
Browse files Browse the repository at this point in the history
  • Loading branch information
watchout254 authored Oct 1, 2023
1 parent 914c65c commit 93df9bf
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions func_arg.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#Types of arguments
#default, positional, keyword, arbitrory


def greet(name):
print(f"Hi {name}")
print(f"Are you from Information Technology Department")

greet("Daniel")
greet("mukenya")

def add(a,b,d):
c = a+b+d
print(f"Sum is {c}")
add(5,7,8)
add(8,9,3)

0 comments on commit 93df9bf

Please sign in to comment.