Python Function
What are functions? Functions are a convenient way to divide your code into useful blocks, allowing us to order our
Read moreWhat are functions? Functions are a convenient way to divide your code into useful blocks, allowing us to order our
Read moreExample: #!/usr/bin/python a = 10 b = 20 list = [1, 2, 3, 4, 5 ]; if ( a in
Read moreExample: #!/usr/bin/python x = True y = False print(‘x and y is’,x and y) print(‘x or y is’,x or y)
Read moreExample: #!/usr/bin/python a = 60 # 60 = 0011 1100 b = 13 # 13 = 0000 1101 c =
Read moreExample: !/usr/bin/python a = 21 b = 10 c = 0 c = a + b print “Line 1 –
Read moreThese operators compare the values on either sides of them and decide the relation among them. They are also called
Read moreWhat is python? Python is an interpreted programming language. As it is a programming language so it tells a computer
Read more