# Comments
# Single List comments starts with # before beginning of the line
and the line won't get executed
# for a line to be commented select the line and press ctrl + /
# Printing
print("Hello World!")
print("What we need to print")
# String Manipulation
# 1) \n for new line
print("Hello World \n Hello World \n Hello World \n Hello World")
# 2) Adding (or) Concate two Strings
print("Hello" + "Name")
# 3) For Spaces
print("Hello " + "Name")
print("Hello" + " Name")
print("Hello" + " " + "Name")
# Indentation
print("")
# print("") # Gives Error if we uncomment this
# Taking Data from User
input("Your Question to ask for getting answer from user")
# After receiving the data from the user the function replaced with
data from user
print("Hello " + input("What is your Name"))
# Variables
# 1) Used to store data in them and they are mutable (Data can be
re-assigned to it) and any type of data
name = "Kadapa"
print(name)
name = "Hello"
print(name)
name = 123
print(name)
# 2) It can store data received from the input() function
name = "What is your Name ?"
print(name)
# 3) len() function is used to get length of the data present in the
variable
length = len(name)
print(length)