Python Variables And String
Introduction
Variables are used to store values. A string is a series of character, surrounded by single or double quotes.
#Hello world print("hello world") #Hello world with a variable msg = "Hello world" print(msg) #Concentration (combining strings) first_name = 'albert' last_name = 'einstein' full_name =first_name + '' + last_name print(full_name)
No comments:
Post a Comment