Python3
# single line comment ''' this is multiline comment ''' """ variable rules:- variable names are case sensitive (name and NAME are different variables) must start with a letter or an underscore can have numbers but can't start with one """ x=1 y=2.5 name='hemanth' is_cool = True x,y,name,is_cool = (1,2.5,'hemanth',True) print(type(x)) print(x) # casting a= float(x) Strings:- # strings in python are surrounded by single or double quotes. name = 'hemanth' age = 28 print('hello, my name is '+name+' I am '+str(age)) # Arguments by position print('my name is {name} and I am {age}'.format(name=name, age=age)) # f-strings(3.6+) print(f'hello i am {name} and i am {age}') Strings:- s = 'hello world' # capitalize string print(s.capitalize()) # make all uppercase print(s.upper()) # make all lower print(s.lower()) # swap case print(s.swapcase()) # get length print(len(s)) #repla...