Skip to content
Singhak
  • Home
  • Tech
    • Javascript
    • Python
    • QnA
    • TipsnTricks
    • Automation
  • Blog
  • Submit Guest Post
  • About me
    • Contact Us
    • Privacy Policy
Menu Close
  • Home
  • Tech
    • Javascript
    • Python
    • QnA
    • TipsnTricks
    • Automation
  • Blog
  • Submit Guest Post
  • About me
    • Contact Us
    • Privacy Policy

python

Home » python
Read more about the article flat a nested list in python | flat implementation in python
Python / Tech

flat a nested list in python | flat implementation in python

Some time we have a nested list which we want to make in one dimensional array or you can say we want to flat it. def flat(arr): #base condition if…

0 Comments
4th July 2022
Coding

Coding Challenge – Celebrity Problem.

Celebrity is the person to whom everyone know but he do not know any person. This problem one of the programing problem that asked in companies Problem Statement: You are…

0 Comments
27th September 2021
Read more about the article Generate any number of combination of letter | Python generate all 3 letter combinations
Python / TipsnTricks

Generate any number of combination of letter | Python generate all 3 letter combinations

We can generated all possible combination of alphabets or number using python with only few lines of code. We can use these combination to give unique identity to any one.…

0 Comments
20th September 2021
Read more about the article The ternary conditional operator in Python
Python / Tech

The ternary conditional operator in Python

The ternary operator is very useful for a single condition. But support ternary operator different way, not like other programming languages (?:). Syntax: A if C else B This first…

0 Comments
16th August 2021
Read more about the article Write program to check Array is a permutation of numbers from 1 to N
Coding / Python

Write program to check Array is a permutation of numbers from 1 to N

Problem statement: You have an array of number like [1,3,4,6,8] we need to find that these numbers are permutation of number or not, considering all numbers in an array. example:…

0 Comments
13th May 2021
Read more about the article String formatting in python | String interpolation in python
Photo by 42 North on Pexels.com
Python / Tech

String formatting in python | String interpolation in python

String formatting or Interpolation is an essential part of any programming language. In python string formatting can be done in different ways. It helps a programmer to create dynamic strings…

0 Comments
17th April 2021
Read more about the article Python interview question for Interview | Top 20 Python interview question
Python / QnA / Tech

Python interview question for Interview | Top 20 Python interview question

Here are my python interview/job preparation questions and answers. Which can help to to clear the interview or also help to take interview of any candidates. What is list ?…

0 Comments
9th April 2021
Read more about the article The nearest greatest element of an array from right in python
Coding / Python

The nearest greatest element of an array from right in python

Stack implementation: class Stack: def pop(self): return self.items.pop() def __init__(self): self.items = [] def push(self, item): return self.items.append(item) def size(self): return len(self.items) def peek(self): return self.items[len(self.items)-1] def isEmpty(self): return len(self.items)…

0 Comments
22nd March 2021
  • 1
  • 2
  • Go to the next page

Buy Me a Coffee

Follow Us

Join Telegram Channel

Categories

Archives

Subscribe

Recent Posts

  • 8 ways to check JavaScript Object empty or not
  • Check variable is a Date Object or not in JavaScript
  • How to Update Multiple Array Elements in mongodb
  • mongo.exe not installed in Version 6.0.0+ | mongo not a recognize an internal or external command
  • Check string is date or not in JavaScript

Menu

  • Home
  • Submit Post
  • Privacy Policy
  • About me
  • Guest Post Submission
  • Contact Us
Support Me

Buy Me a Coffee

Copyright 2021 - Singhak
pixel