'''Q1 WAP to display a user entered name followed by good
Afternoon using input() function'''
# name=input('enter users name\n')
# greeting=' good morning'
# print(name+greeting)

'''Q2 WAP to fill in a letter template given below with
name and date '''
# name=input('enter your name\n')
# date=input('enter the date\n')
# print(f'''Dear {name} \n you are selected \n {date}''')

'''Q2 WAP to fill in a letter template given below with
#name and date '''

letter='''Dear NAME,
greetings from ABC company. I am happy to tell you about
your selection
You are selected!
Have a great day ahead!
Thanks and regards,

Date: DATE'''
# name =input('Enter your Name\n')
# date =input('Enter Date\n')
# letter=letter.replace("NAME",name)
# letter=letter.replace("DATE",date)
# print(letter)

'''Q3 WAP to detect double spaces in a string'''
# st="this is a program to find  double spaces"
# doublespaces=st.find("  ")
# print(doublespaces)

'''Q4 WAP to format the following letter using escape sequence
characters'''

# letter= "Dear Harry,\n \tthis Python course is nice.\nThanks!"
# print(letter)