Skip to main content

Best Python tutorials For Beginners.

Python is a interpreted high level programming language.

Python is a simple , object oriented, general purpose programming language.

Python is a easy to use and learn versatile programming language.


#Python Variables

Variable is used to store value and refer to memory locations.

x  =  23

// where "x" is variable.

// 23 is x's value.


#Python Data Types

here , variable can hold a values and every variable has a data type.




you can check data type using " type() " Function.


a = 77 // integer data type

x = "Saransh" // string 

y = 77.7 // float 

*Python has a standard data types

  • Boolean 
  • set 
  • Dictionary 
  • Numbers

Comments

Popular posts from this blog

Swap two variables in one line

  X = 77 Y = 708 X,Y =Y,X print("after swapping x value and y is- ",X,Y)

Python Username and Password using if .. else

 Easy ways to check username and password by using simple if else statement. Ex. username = "saransh" password = "Saransh77" x = input("enter your username- ") y = input("enter your password- ") if x == username: if y == password: print("Okay Right..!") else: print("please enter correct username or password.") OUTPUT

HOW TO MAKE MENUBAR