Write a Python function that does the following:
greetingfirst_name and last_namefirst_name and last_nameAccess the Python 3.11 documentation and read the definitions for print(), round(), input(), len(), int(), and str().
With your table members, write a short definition for each of the built-in functions above on a white board.
len() functionlen() function can be used with many types – we will be using it with string for nowWrite a Python function that does the following:
count_charactersnamenameinput() functioninput() function prompts the user to input text in the standard outputinput() will be written to the standard output (without a trailing newline, which you can add using \n).input() always returns a stringNow you should have two functions in your .py script: greeting and count_characters.
Write a main() function.
In the same script, write main():
input()greeting function and save the string it returns to a variablecount_characters function with the user’s full name and save the integer value returned to a variableYour full name has X letters. – replacing X with the right character countinput() functionUse input() to get user input (it always returns a string)
int() functionint() function can be used to convert a string to an integer typefloat() functionfloat() function can be used to convert a string to a float typeWrite a Python function that does the following:
calculate_year_born, with no parametersinput()input() always returns a string)age was born by subtracting age from 2024age was bornSubmit your calculate_year_born solution as attendance on Gradescope.
Name your file get_input.py
main() in different filesfrom script_name import *