I have been trying to learn Python using Al Sweigart's book.
Using the Sublime Text 3 I found it hard to run this code which is identical to the code in the book. I have changed the setting over to View > Syntax > Python
. The code is:
print ('Hello world!')
print ('What is your name?')
myName = input()
print ('It is good to meet you,' + myName)
print ('The length of your name is:')
print (len(myName))
The console has the following output:
Hello world!
What is your name?
I typed in a name. But nothing happened from then on.
Because of two posts on here (Post 1; Post 2), I installed the SublimeREPL package, but I am not entirely sure how to use it and whether it is what I need. I can find the packaged under Tools > SublimeREPL > Python >
and then a bunch of versions.
Can someone help? Help is much appreciated.