Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# This program will take the name you input and spell it and as well as tell you how many letters are in your name.

name = input("Please enter your name")

print ("This is how to spell your name: ")

def spellMyName(name):  
  for c in name:
      print (c)


spellMyName(name);

print ("Your name ({}) has {} letters".format(name, len(name)))

#print ("Your name has " + str(len(name)) + " letters")