<jupyter_start><jupyter_text>keyword argument<jupyter_code>q = poraname(l_name = "khan",f_name = "qasim ", m_name = "hassan " )
q
def person(name ,age,gender= 'Male', city  = 'Karachi'):
    print (f"my name is  {name}.")
    print (f"my age is {age}.")
    print (f"my gender is {gender}.")
    print (f"my city is {city}.")
person ("qasim",19 ,city = "lahore")
def shop(t_bill,disc = 50):
    amount = t_bill*disc/100
    return amount
x =  shop(5000)
x
y = shop (3000,25)
y
t_bill = int(input("Enter your amount :"))
amount = t_bill*50/100
print (amount)
t_bill = int(input("Enter your amount :"))
disc = int(input("Enter discount :"))
def shop(t_bill,disc):
    amount = t_bill*disc/100
    return amount
x = amount
x
def pizza(size,*topings):
    print(f"your pizza size {size}.")
    print(f"your topings  {topings}.")
pizza('extra large','cheese','fajita','chicken')
def pizza(size,*topings): #arbitory argument hamesha last main hu ga 
    print(f"your pizza size {size}.")
    for topings in topings:
        print(f"your topings  {topings}.")
pizza ("extra large",'cheese','fajita')
f_name = "<NAME>"
l_name = "khan"
age = 55 
print(f"my name is {f_name} {l_name} and my age is {age}")
def info(name , email , cnic ,  **others):
    print(f"my name is {name}.")
    print(f"my email is {email}.")
    print(f"my cnic no is {cnic}.")
    print(f"my other info is {others}")
info ("<NAME>","<EMAIL>","123456789",location = "karachi",gender = "male")
def info(name , email , cnic ,  **others):
    print(f"my name is {name}.")
    print(f"my email is {email}.")
    print(f"my cnic no is {cnic}.")
    for key ,values in others.items():
        print(key , ":",value)<jupyter_output><empty_output><jupyter_text>local and global<jupyter_code>salary = 12
def piaic():
    print(salary)
piaic()
salary = 12
def piaic():
    salary = 23
    print(salary)
piaic()<jupyter_output>23
{'fraction_non_alphanumeric': 0.1741901221455125, 'fraction_numerical': 0.02336696760488582, 'mean_word_length': 4.161643835616438, 'pattern_counts': {'":': 1, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '92219', 'license': 'MIT', 'n_tokens_mistral': 770, 'n_tokens_neox': 720, 'n_words': 193, 'path': 'Q1/Notebooks files/Contiue functions.ipynb', 'repo_name': 'qasim1020/PIAIC-Artificial-Intelligence', 'size': '1902'}