Python Questions
5.34K subscribers
1 photo
7 links
Tasks for Beginners, Interview Questions, Regular expressions, simple coding problems, Quiz etc.

Useful Resources — »»» @python_resources_iGnani
Projects for Practice — »»» @python_projects_repository
Discussion Forum — »»» @python_programmers_club
Download Telegram
*

myList = [1, 2, 3, 4, 2, 2, 3, 1, 4, 4, 4,5,5,6,7,6,5]

A) Write a program to get the value that appears more number of times
B) When there is a tie, then get the number which is the smallest of them

#python #practiceCode #samples #interviewQuestions #numbers #list
*

name = 'ppy!'
Write code to insert the letter 'a' in-between each letter to form the word 'papaya!'

#python #practiceCode #samples #interviewQuestions #strings #list
.

a = 1
b = 2
Swap the values without using an additional variable.

#python #practiceCode #samples #interviewQuestions