Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

lucky number codechef solution

# lucky no codechef problem in python


for _ in range(int(input())):
	a,b,c = list(map(int,input().split()))

	if 7 in (a,b,c):
		print('Yes')
	else:
		print("No")
Comment

Lucky four codechef solution

t=int(input())
a=str(4)
for i in range(t):
  x=str(input())
  count=0
  for j in x:
    if j==a:
      count=count+1
   print(count)
Comment

PREVIOUS NEXT
Code Example
Python :: recursive factorial python 
Python :: python - caéculate the average based on the level of a second column in a df 
Python :: python program to check whether a number is even or odd 
Python :: pandas subplots 
Python :: stop flask server 
Python :: python evaluate string 
Python :: pass 2d array to 1d python 
Python :: Python Remove Character from String using replace() 
Python :: x y coordinates in python 
Python :: python dictionary get value if key exists 
Python :: Python how to use __mul__ 
Python :: read xml file in python 
Python :: print each element of list in new line python 
Python :: how to get the number of rows and columns in a numpy array 
Python :: execute command in python 
Python :: reading from a file in python 
Python :: django email 
Python :: cache pyspark 
Python :: python time 
Python :: how to convert string to float in python 
Python :: sort lexo python 
Python :: {% load humanise %} 
Python :: adding strings together 
Python :: pandas dataframe convert yes no to 0 1 
Python :: how to repeat code in python until a condition is met 
Python :: DIVAB Solution 
Python :: sklearn labelbinarizer in pipeline 
Python :: python increment filename by 1 
Python :: python - How to execute a program or call a system command? 
Python :: how to make a loop in python 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =