human
Program to find the initials of a name . | Python3 program to print initials of a name.
Split the string using ' space ' and print the first character of every word.
Driver code"
How can the above be solved in Python?
 What is a code to program to find the initials of a name?
assistant
#Here is code to program to find the initials of a name .
 def printInitials ( name ) :
	if ( len ( name ) == 0 ) :
		return
	words = name . split ( " ▁ " )
	for word in words :
		print ( word [ 0 ] . upper ( ) , end = " ▁ " )
if __name__ == ' _ _ main _ _ ' :
	name = " prabhat ▁ kumar ▁ singh "
	printInitials ( name )