I just started Automate The Boring Stuff, I'm at chapter 1.
myname = input()
print ('It is nice to meet you,' + myname)
lengthofname = len(myname)
print ('your name is this many letters:' + lengthofname)
I ran this, it gave me Can't convert 'int' object to str implicitly
.
My reasoning at line 3 is that I want the variable myname
to be converted into an integer and then plugged into line 4.
Why would this be an erroneous way of coding?