Hello World syntax for Python

 

https://automatetheboringstuff.com/chapter1/

# This program says hello and asks for my name.
print('Hello world!')
print ('What is your name?')
myName=input()
print('It is good to meet you, ' +myName)
print('The length is:')
print(len(myName))
print('What is your age?')
myAge=input()
print('You will be ' +str(int(myAge)+1) + '.')
str(27)

Leave a Reply