You just took a contract with the Jedi council. They need you to write a function, `greet_jedi()`, which takes two arguments (a first name and a last name), works out the corresponding *Jedi name*, and returns a string greeting the Jedi.

A person's *Jedi name* is the first three letters of their last name followed by the first two letters of their first name. For example:
```python
>>> greet_jedi('Beyonce', 'Knowles')
'Greetings, master KnoBe'
```
Note the capitalization: the first letter of each name is capitalized. Your input may or may not be capitalized. Your function should handle it and return the Jedi name in the correct case no matter what case the input is in:
```python
>>> greet_jedi('grae', 'drake')
'Greetings, master DraGr'
```
You can trust that your input names will always be at least three characters long.

If you're stuck, check out the [python.org tutorial](https://docs.python.org/3/tutorial/introduction.html#strings) section on strings and search "slice".

Difficulty: introductory

Starter code:

def greet_jedi(first, last):
	

Solutions:
def greet_jedi(first, last):
  return "Greetings, master {}{}".format(last[:3].capitalize(), first[:2].capitalize())

def greet_jedi(f, l):
    return 'Greetings, master ' + l[0:3].capitalize() + f[0:2].capitalize()

def greet_jedi(first, last):
    return 'Greetings, master %s%s' % (last[:3].capitalize(), first[:2].capitalize())

def greet_jedi(*args):
    return 'Greetings, master {1}{0}'.format(*(s.title()[:2+i] for i,s in enumerate(args)))


def greet_jedi(first, last):
    return 'Greetings, master {}'.format(last[:3].capitalize()+first[:2].capitalize())



greet_jedi=lambda f, l: 'Greetings, master ' + l[:3].capitalize() + f[:2].capitalize()

def greet_jedi(first, last):
    # Your code goes here.
    one = last[0:3].capitalize()
    two = first[0:2].capitalize()
    return ("Greetings, master {}{}".format(one, two))

def greet_jedi(first, last):
     return("Greetings, master " +last.capitalize()[:3] + first.capitalize()[:2])
    # Your code goes here.


def greet_jedi(first, last):
    return 'Greetings, master {}{}'.format(last.capitalize()[:3],first.capitalize()[:2])


def greet_jedi(first, last):
    return 'Greetings, master %s%s' % (last.capitalize()[:3] , first.capitalize()[:2])