Skip to main content

Posts

Learn Different Methods In Python Programming Language

       Hello Friends. In Our Previous Blog ,   We have Learned the Basics of Python Programming Language & Different Program in  Python Programming Language. In Today's Blog We Will Create Some Basic Methods In Python Programming Language. Create Some Different Methods in  Python Programming Language. Program #Create Different Methods In Python Programming Language. def swap(a,b):     a=a+b     b=a-b     a=a-b     print("First Value = ",a)     print("Second Value = ",b) def arth():     c=a+b     print("Addition = \t",c)     c=a-b     print("Substraction = \t",c)     c=a*b     print("Multiplication = ",c)     c=a//b     print("Division = \t",c)     c=a%b     print("Reminder = \t",c) def comp():     if a>b:         print("First Value is Greater = \t",a)     eli...
Recent posts

Read about Python Programming Language.

       Hello Friends. In Our Previous Blog ,   We have Learned the Basics of Python Programming Language & Simple Program in  Python Programming Language. In Today's Blog We Will Create Some Basic Program in Python Programming Language. Print List Item in Assending Order Without Using Sort Function Program in Python Programming Language. Assending Order- Program #List in Assending Order list=[9,5,1,7,5,3,6,2,8,0] for i in range(0,len(list)):     for j in range(i+1,len(list)):         if list[i]>list[j]:             temp=list[i]             list[i]=list[j]             list[j]=temp print(type(list)) print("Assending Order = ",list)      Outpu t <class 'list'> Assending Order =  [0, 1, 2, 3, 5, 5, 6, 7, 8, 9] Print List Item in Dessending Order Without Using Sort Function Program in Python Programming Language...

Read Some Basic Program in Python

      Hello Friends๐Ÿ’– In Our Previous Blog ,   We have Learned the Basics of Python Programming Language & Simple Program in  Python Programming Language. In Today's Blog We Will Create Some Basic Program in Python Programming Language. Some Basic Program in Python Programming Language. Factorial- Program #Factorial Program in Python. no=int(input("Enter any Number = ")) fact=1 print("Factoral - Series ") for i in range(1,no+1):     fact=fact*i     print(fact) Outpu t Enter any Number = 10 Factoral - Series  1 2 6 24 120 720 5040 40320 362880 3628800 Some Basic Program in Python Programming Language. Fibonacci Program #Fibonacci Program In Python a=int(input("Enter Second Value = ")) b=int(input("Enter First Value = ")) print("Fibonacci-Series") for i in range(0,10):     total=a+b     a=b     b=total     print(total) Outpu t Enter Second Value = 1 Enter First Value = 2 Fibonacci-Series 3 5 8 13...

Different Shapes of Pyramid In Python Programming Language

     Hello Friends๐Ÿ’– In Our Previous Blog ,   We have Learned the Basics of Python Programming Language & Simple Program in  Python Programming Language. In Today's Blog We Will Create Different Shapes of Pyramid in Python Programming Language. Different Shapes of Pyramid in Python Programming Language. Program no=int(input("Pyramid Limit =")) for i in range(1,no+1):     for j in range(1,i+1):         print("*",end=" ")     print() Outpu t Pyramid Limit =7 *  * *  * * *  * * * *  * * * * *  * * * * * *  * * * * * * *    Different Shapes of Pyramid in Python Programming Language. . Program no=int(input("Pyramid Limit =")) for i in range(1,no+1):     for j in range(i,no+1):         print("*",end=" ")     print() Outpu t Pyramid Limit =7 * * * * * * *  * * * * * *  * * * * *  * * * *  * * *  * *  *  Different...

Basic Programs in Python Programming Language

    Hello Friends๐Ÿ’ In Our Previous Blog ,   We have Learned the Basics of Python Programming Language & Simple Program in Python Programming Language. Now in This Blog, We Will Find Even & Odd Number 1 To User Given in Python Programming Language. Find Odd Number One to User Given in Python Programming Language. Basic Program no=int(input("Enter Any Number = \t")) for i in range(1,no+1):     if i%2==1:         print("Odd Number =",i) Outpu t Enter Any Number = 25 Odd Number = 1 Odd Number = 3 Odd Number = 5 Odd Number = 7 Odd Number = 9 Odd Number = 11 Odd Number = 13 Odd Number = 15 Odd Number = 17 Odd Number = 19 Odd Number = 21 Odd Number = 23 Odd Number = 25 Find Even Number One to User Given in Python Programming Language. Basic Program no=int(input("Enter Any Number = \t")) for i in range(1,no+1):     if i%2==0:         print("Even Number =",i) Outpu t Enter Any Number =  25 Even Number = ...