Python Basics----------------
name = input('Enter your name :')
roll = int(input('Enter your roll :'))
marks = float(input('Enter marks :'))
#list
list1 = eval(input('Enter elements :'))
#if-else
age = int(input('Enter your age'))
a = int(input('enter 1 num: '))
b = int(input('enter 2 num: '))
c = int(input('enter 3 num: '))
r --> rock
p --> paper
s --> scissor
rules
r vs p --> p
p vs s --> s
r vs s --> r
'''
print('Lets play Rock Paper Scissor')
user1 =input('Player 1 choose(p,r,s) :')
user2 =input('Player 2 choose(p,r,s) :')
elif user1=='p'and user2=='r':
elif user1=='s' and user2=='p':
elif user1=='r' and user2=='s':
elif user1 and user2 != 'p''r''s':
num=int(input('enter a num :'))
print(num,'x',a,'=',num*a)
num2= int(input('enter any natural num :'))
for a in range(1,num2+1):
num1=int(input('enter any num'))
for a in range (1,num1+1):
num3=int(input('enter any num :'))
'''------------------------------------------------'''
#While Loop
num = int(input('Enter a number :'))
n = int(input('Enter num :'))
'''------------------------------------------'''
l1 = eval(input('enter the elemenets :'))
l2 =l1[-1:-4:1]+l1[-5:-7:1]
print(l1[0:3:]+l1[-2: -8:])
print(l4[0:4]+l4[:-5:-1])
'''---------------------------------'''
WAP to remove duplicate elements from list
l2=[1,2,3,4,5,6,3,2,1,4,5,5]
'''---------------------------------------------'''
Append function and remove and pop
l2.append('hello') # type: ignore
l1=[1,2,3,4,5,2,1,3,4,4]
l2=[5,5,6,6,7,7,8]
l3=l1+l2
print(set(l3))