x = 5
y = 7

z = x + y
z
print(z)

#int - Numbers
#string ahvjhsdk
#float 
#Boolean - true / false 


b = 1223
x = "asgj2123132"


# Datatypes
"""
1.Numbers - int / float / numeric
2.String - str Abc aksjdhaskjdhkjsa .
3.List
4.tuple
5.dictionary

"""



'----------------------------------------'
str = 'hello there , kjsdjasgdkjasg'

print(str)          # Prints complete string
print(len(str))
print(str[0])       # Prints first character of the string
print(str[2:5])     # Prints characters starting from 3rd to 5th
print(str[2:])      # Prints string starting from 3rd character
print(str * 2)       # Prints string two times
print(str + " Nupur") # Prints concatenated string


'List'
'''
AList = [] random data - mutable - changeble
ATuple = (1,2,3) - immutable - non-changeble
dict = {key : value} - changeble

'''

'Tupple'

tuple = ( 'abcd', 786 , 2.23, 'john', 70.2  )
tinytuple = (123, 'john')

print(tuple)           # Prints complete list
print(tuple[0])        # Prints first element of the list
print(tuple[1:3])      # Prints elements starting from 2nd till 3rd 
print(tuple[2:] )      # Prints elements starting from 3rd element
print(tinytuple * 2)   # Prints list two times
print(tuple + tinytuple) # Prints concatenated lists


'Dictionary ----------------------------------'
dict = {
        "Name":["Rohyth","Nupur","ABC"],
        "Place":'Delhi',
        "Number":7290845646,
        }

dict
dict['Place']
#add data to list within dict
dict['Name'].append('XYZ')


dict['Name'].append('Alpha')


'--------------------------------------------'
'Conversion ---------------------------------'













        
