#Question 1
# create a variable `a` with the word HELLO and a variable `b` with your name.
# now print 'HELLO YOUR_NAME' all in upper class
a = 'Hello'
b= 'Elisaardo'
print(a +" " +b)
#Question2
#How many ways can you can name a variable (hint: cases) name them all
# 4 camelCase, PascalCase, snake_case ,kebab-cases
#Question3
"""
Can you guess how many `p` are in the following paragraph?
The Pentagon has ordered 3,000 more soldiers from the 82nd Airborne Division to Poland as tensions continued to mount about a possible Russian invasion of Ukraine, a senior defense official said Friday. The deployment of the additional troops to Poland came as the White House warned that a Russian invasion of Ukraine could begin during the Olympics and urged all American citizens in Ukraine to leave the country over the next 24 to 48 hour
"""
c = 'The Pentagon has ordered 3,000 more soldiers from the 82nd Airborne Division to Poland as tensions continued to mount about a possible Russian invasion of Ukraine, a senior defense official said Friday. The deployment of the additional troops to Poland came as the White House warned that a Russian invasion of Ukraine could begin during the Olympics and urged all American citizens in Ukraine to leave the country over the next 24 to 48 hour'
d = c.lower()
d.count('p')
#Question4
#say you have the following sentence
'I am a {job} at {work}'
# replace job and work with your job and name of workplace
e = 'I am a {job} at {work}'
e.format(job='student', work = 'KAIST' )
#Question5
#Insert values using % to get the following:
'In the Library, I studied for 5 hours.'
hours = 5
place = 'library'
'In the %s, I studied for %d hours.' %(place, hours)
#Question 6
#Explain the role of escape function \\n and \\t
#\\n is to do a line break
#\\t is used to give tab space between letters.
#Question7
#Find the length of the following phrase: "I want to sleep now."
abcd = "I want to sleep now."
len(abcd)
#Question8
# From the previous question, get the word "now" by using slicing function
abcd[16:19]