Python 3.6.5 (default, Apr  1 2018, 05:46:30) 
[GCC 7.3.0] on linux
Type "copyright", "credits" or "license()" for more information.
>>> 
===================== RESTART: /home/student/greeting.py =====================
what is your name?layal
Traceback (most recent call last):
  File "/home/student/greeting.py", line 2, in <module>
    my_name=layal
NameError: name 'layal' is not defined
>>> 
===================== RESTART: /home/student/greeting.py =====================
what is your name?layal
Traceback (most recent call last):
  File "/home/student/greeting.py", line 2, in <module>
    name=layal
NameError: name 'layal' is not defined
>>> 
===================== RESTART: /home/student/greeting.py =====================
what is your name?layal
hello there,layal
>>> 
===================== RESTART: /home/student/greeting.py =====================
what is your name?layal
hello there,layal
>>> 
===================== RESTART: /home/student/greeting.py =====================
what is your name?layal
hello there,layal
>>> 
===================== RESTART: /home/student/greeting.py =====================
what is your name?layal
hello there,name
>>> 
===================== RESTART: /home/student/greeting.py =====================
what is your name?layal
hello there,layal
>>> 
===================== RESTART: /home/student/greeting.py =====================
what is your name?layal
hello there,layal
>>> 
===================== RESTART: /home/student/greeting.py =====================
what is your name?layal
hello there,layal
>>> 
===================== RESTART: /home/student/greeting.py =====================
what is your name?layal
hello there,layal
>>> 
===================== RESTART: /home/student/greeting.py =====================
what is your name?layal
hello there,layal
>>> 
===================== RESTART: /home/student/greeting.py =====================
what is your name?layal
hello there,layal
>>> 
===================== RESTART: /home/student/greeting.py =====================
what is your name?layal
hello there,layal
>>> 
===================== RESTART: /home/student/greeting.py =====================
what is your name?layal
hello there,Layal
>>> 
===================== RESTART: /home/student/greeting.py =====================
what is your name?layal
hello there,Layal
your name is 5letters long!
>>> 
===================== RESTART: /home/student/greeting.py =====================
what is your name?layal
hello there,Layal
your name is 5 letters long!
>>> 
===================== RESTART: /home/student/greeting.py =====================
what is your name?layal
hello there,Layal
your name is 5 letters long!
the first letter of your name isL and the last letter of your name isl
>>> 
===================== RESTART: /home/student/greeting.py =====================
what is your name?layal
hello there,Layal
your name is 5 letters long!
the first letter of your name is L and the last letter of your name is l
>>> var="my name is Claire!"
>>> print(var[21:27])

>>> var="Hi there, my name is Claire. Nice to meet you!"
>>> print(var[21:27])
Claire
>>> 
