Skip to content

ZEROONES

  • Home
  • Verilog
  • Python
  • Arduino
  • C
  • Contact

ZEROONES

  • Home
  • Verilog
  • Python
  • Arduino
  • C
  • Contact

zeroones.org

Python Program To Find The Total Number Of Occurrences Of An Element In List

24 October 2022 by zeroones.org

Python Program To Find The Total Number Of Occurrences Of An Element In List Example def elementOccuranceData(dataArray,N): count = 0 for i in range(0,len(dataArray)): if(dataArray[i] == N): count+=1 print(“{} is …

Read more

Python Program To Find LCM Of Two Numbers

23 October 2022 by zeroones.org

Python Program To Find LCM Of Two Numbers Example def lcmCalculation(x, y): greater = max(x,y) while(True): if((greater % x == 0) and (greater % y == 0)): lcm = greater …

Read more

Python Program To Display Prime Numbers In A Given Range

22 October 2022 by zeroones.org

Python Program To Display Prime Numbers In A Given Range Example In this tutorial, we are going to find the prime numbers between two given numbers or in a particularly …

Read more

Python Program To Remove Duplicates From A List Using For Loop

21 October 2022 by zeroones.org

Python Program To Remove Duplicates From A List Using For Loop   01. Example Apply on string list. def removeDuplicate(duplicate): data = [] for num in duplicate: if num not …

Read more

Python Program To Remove Duplicates From A List Using Dictionary

20 October 2022 by zeroones.org

Python Program To Remove Duplicates From A List Using Dictionary   01. Example Apply on string list. cars = [‘Lamborghini’,’Honda’, ‘Jeep’, ‘Honda’, ‘BMW’,’Hyundai’, ‘Hyundai’, ‘BMW’, ‘Ford’] print(“Array: n”, cars) result …

Read more

Python Program To Remove Duplicates From A List Using Set

19 October 2022 by zeroones.org

Python Program To Remove Duplicates From A List Using Set   01. Example Apply on string list. cars = [‘Lamborghini’,’Honda’, ‘Jeep’, ‘Honda’, ‘BMW’,’Hyundai’, ‘Hyundai’, ‘BMW’, ‘Ford’] print(“Array: n”, cars) print(“nnArray …

Read more

Python Program To Find Maximum Frequency Character In String Using ASCII

18 October 2022 by zeroones.org

Python Program To Find Maximum frequency character in String Using ASCII   01. Example ​ def mostFrequency(stringData): ASCII_SIZE = 256 character = [0] * ASCII_SIZE max = -1 char = …

Read more

Python Program To Find Maximum frequency character in String Using Collection

16 October 2022 by zeroones.org

Python Program To Find Maximum frequency character in String Using Collection   01. Example from collections import Counter string = “zeroones.org” print (“The input string : ” + string) result …

Read more

Python Program To Find Maximum frequency character in String Using For Loop

15 October 2022 by zeroones.org

Python Program To Find Maximum frequency character in String Using For Loop   01. Example string = “zeroones.org” print (“The input string : ” + string) counter = {} for …

Read more

Python Program To Print Repeated Characters In A String

14 October 2022 by zeroones.org

Python Program To Print Repeated Characters In A String   01. Example string = “zeroones.org” repeat = [] for character in string: if string.count(character) > 1: if character not in …

Read more

Older posts
Newer posts
← Previous Page1 … Page20 Page21 Page22 … Page36 Next →

Recent Posts

  • Types of Semiconductor Memories
  • Volatile Memory: SRAM and DRAM
  • 4×1 Multiplexer Modeling Using Verilog With Testbench
  • Selection Sort Python Implementations
  • Bubble Sort Python Implementations
© 2025 zeroones, All Rights Reserved.