1# to greet somebody with their name you do like the following
2def greet(name):
3 print(f"Hello, {name} How do you do?")
4
5greet("John Due") # you will get Hello, John Due How do you do?
6
7# if you wanna get the input from the user you can do that too!
8name = input("Please enter your name: ")
9greet(name) # this takes the input from the user and then greets the user