Skip to main content

Posts

Python Program to Count Number Of Occurances of character

Python Program to  Count Number Of Occurances of character       Input:      Program        r      Out put:           2                  Code:          S=input()          c=input()           count=0;           for i in S:               if c==i:                    count+=1           print(count)             Note:     Hello Guys, Don't Stop Learning keep Going..............

Python Program to Generate a Random Number

                 Python Program to  Generate a Random Number       Input:        None      Out put:           2                  Code:          import random           print(random.randint(0,9))           Note:     Hello Guys, Don't Stop Learning keep Going..............

Python Program to Find Square Root Of A Number

               Python Program to  Find Square Root Of A Number       Input:         4      Out put:           2            Explanation :                    Generally squareroot(4)=2                   Code:          number=int(input())           print(number**0.5)           Note:     Hello Guys, Don't Stop Learning keep Going..............

Different Types Of Logos Using Python

Different Types Of Logos Using Python 🔰  Draw Google Drive Logo Using Python 🔰  Draw Instagram Reel Logo Using Python 🔰  Draw The Spotify Logo in Python Turtle 🔰  Draw The CRED Logo Using Python Turtle 🔰  Draw Javascript Logo using Python Turtle 🔰  Draw Dell Logo using Python Turtle 🔰  Draw Spider web using Python Turtle 🔰  Draw Chrome Logo using Python Turtle 🔰  Draw Virus using Python Turtle 🔰  Draw Apple Logo Using Python turtle 🔰  Creating a Facebook Logo Using Python Turtle 🔰  Draw a boat using Python Turtle 🔰  Draw the Shaktiman Logo using Python Turtle 🔰  Draw WhatsApp Logo Using Python Turtle 🔰  Draw PUBG Logo Using Python Turtle 🔰  Draw Snowflakes using Python Turtle 🔰  Draw a Galactic Flower Using Python Turtle 🔰  Draw a house using Python Turtle 🔰  Draw a Spiderman logo using Python Turtle 🔰  Draw Spiral Shapes using Python Turtle 🔰  Draw an Android Lo...

Computer shortut keys

  Computer shortut keys   Computer shortcut keys that provide alternative way to access functions directly in computer system. 1. ctrl+A   :Select all text or files 2. ctrl+C  :To copy text or file 3. ctrl+V  :To paste text or files 4. ctrl+O   :To open a File 5. ctrl+B  :To change selected text to Bold 6. ctrl+X  :To cut the text or file 7. ctrl+I   :To change selected text to Italic 8. ctrl+F  :To find a file or document 9. ctrl+S  :To save the file or document 10. ctrl+U   : To change selected text to underlined 11. ctrl+D :To save website as bookmark in internet Browsers 12. ctrl+N  :To open a new document or new tab in internet browser 13. ctrl+Y   :Redo last action 14. ctrl+Z  :Undo last action 15. ctrl+K  :To insert a hyperlink for text document 16. ctrl+Home :To goes to beggining of the document or page 17. ctrl+End  :To goes to end of the document or page 18. ctrl+Esc : To open start menu 19. c...

Python Program to Check whether a character is a Vowel or Consonant

                  Python Program to Check whether a character is a Vowel or Consonant   In this we are going to learn given character is vowel or Consonant. Generally there are 5 vowels they are a,e,i,o,u and remaining are the consonants in alphabets of 26. we can write this program by using strings. string is a collection of characters.         Input:        k      Out put:           Consonant                Explanation :             vowels={a,e,i,o,u,A,E,I,O,U}          if input character in the above list then vowels, else consonant                   Code:         r=input()       # input string         s="aeiou"    ...

Python Program to Convert Decimal to Binary

                Python Program to Convert Decimal to Binary      In this program we are going to learn how to convert decimal number (base 10) to binary number (base 2). In this program we use bin method for converting decimal to binary number (0 or 1).       Input:          2      Out put:            10      Explanation :                     2(base 10) = 10 (base 2)               generally it was done by dividing 2 with given decimal value and take remainders from bottom to up.                             Code:          r=int(input())           print(bin(r)[2:])       ...