n=int(input())
arr=[]
count=0
for x in range(n):
temp=list(map(int,input().split("/")))https://t.me/Coding_human
arr.append(temp)
if temp[1] in [1,3,5,7,8,10,12]:
count+=1
if count!=0:
print(count)
else:
for x in arr:
if x[2]%2==0:
count+=1
print(count)
DOB lucky draw code Python
Telegram - @Coding_human
https://t.me/Coding_human
arr=[]
count=0
for x in range(n):
temp=list(map(int,input().split("/")))https://t.me/Coding_human
arr.append(temp)
if temp[1] in [1,3,5,7,8,10,12]:
count+=1
if count!=0:
print(count)
else:
for x in arr:
if x[2]%2==0:
count+=1
print(count)
DOB lucky draw code Python
Telegram - @Coding_human
https://t.me/Coding_human
Amazon ,Flipkart loot deals (must check)
You will save your money definitely.
https://t.me/DMAD_Discussion
You will save your money definitely.
https://t.me/DMAD_Discussion
public class Main
{
public static void main(String[] args) {
int [] students = {4,9,5,3,2,10};
int counter;
for(int i=0; i<6; i++){
counter = 0;
for(int j=0; j<i; j++){
if (students[j] > students[i]){
counter += 1;
}
}
System.out.print(counter+" ");
}
}
}
University everywhere code in java
Telegram:-https://t.me/Coding_human
{
public static void main(String[] args) {
int [] students = {4,9,5,3,2,10};
int counter;
for(int i=0; i<6; i++){
counter = 0;
for(int j=0; j<i; j++){
if (students[j] > students[i]){
counter += 1;
}
}
System.out.print(counter+" ");
}
}
}
University everywhere code in java
Telegram:-https://t.me/Coding_human
Harold and his homework
Python 3
https://t.me/Coding_human
https://t.me/Coding_human
https://t.me/Coding_human
Python 3
https://t.me/Coding_human
https://t.me/Coding_human
https://t.me/Coding_human
def solve(input1):
res=""
for i in input1:
if(i.isupper()):
res+="_"+i.lower()
else:
res+=i
print(res)
Modify Variable Names
Python 3✅
Telegram:-https://t.me/Coding_human
res=""
for i in input1:
if(i.isupper()):
res+="_"+i.lower()
else:
res+=i
print(res)
Modify Variable Names
Python 3✅
Telegram:-https://t.me/Coding_human
def change(input1):
# WRITE FROM BELOW
s=input1
if '_' in s:
t = s.split('_')
res = t[0]
for i in range(1,len(t)):
res+=t[i][0].upper()+t[i][1:]
return res
else:
res = [s[0]]
for c in s[1:]:
if c in ('ABCDEFGHIJKLMNOPQRSTUVWXYZ'):
res.append('_')
res.append(c.lower())
else:
res.append(c)
return ''.join(res)
# NO NEED TO WRITE INPUT AND PRINT COMMANDS
# lANGUAGE PYTHON3
s=input()
print(change(s))
Modify Variable Code
TG : https://t.me/Coding_human
# WRITE FROM BELOW
s=input1
if '_' in s:
t = s.split('_')
res = t[0]
for i in range(1,len(t)):
res+=t[i][0].upper()+t[i][1:]
return res
else:
res = [s[0]]
for c in s[1:]:
if c in ('ABCDEFGHIJKLMNOPQRSTUVWXYZ'):
res.append('_')
res.append(c.lower())
else:
res.append(c)
return ''.join(res)
# NO NEED TO WRITE INPUT AND PRINT COMMANDS
# lANGUAGE PYTHON3
s=input()
print(change(s))
Modify Variable Code
TG : https://t.me/Coding_human
⚡ How Much SALARY Do You Expect?
✅ As a fresher, My 1st priority is to gain knowledge enhance my skills to be more productive for the company & also I need to become financially independent.
✅ So, I will accept what you offered as per the company norms which will fulfill my economical needs.
Telegram - https://t.me/Coding_human
✅ As a fresher, My 1st priority is to gain knowledge enhance my skills to be more productive for the company & also I need to become financially independent.
✅ So, I will accept what you offered as per the company norms which will fulfill my economical needs.
Telegram - https://t.me/Coding_human
1)240
2)78
3)
5- mother in law
7- 27 may Thursday cooking
9- only conclusion 2 3 and 4 follows
10-Both A and R are true and R is the correct explanation of A
Telegram - https://t.me/Coding_human
2)78
3)
5- mother in law
7- 27 may Thursday cooking
9- only conclusion 2 3 and 4 follows
10-Both A and R are true and R is the correct explanation of A
Telegram - https://t.me/Coding_human
Some codes are already in the channel/group, you can search the code by their names.
Please open Telegram to view this post
VIEW IN TELEGRAM
Platinum airways code
Telegram : https://t.me/Coding_human
https://t.me/Coding_human
https://t.me/Coding_human
Telegram : https://t.me/Coding_human
https://t.me/Coding_human
https://t.me/Coding_human
⚡What are your strengths and weaknesses?
✅ My strength is I am self-motivated, I can adjust myself to any environment, I don't wait for the deadline, I finish my work before the deadline.
✅ My weakness is I just can't keep any work pending. I wanted to complete my work on time, otherwisw it Disturbs my routine also.
Telegram - https://t.me/Coding_human
✅ My strength is I am self-motivated, I can adjust myself to any environment, I don't wait for the deadline, I finish my work before the deadline.
✅ My weakness is I just can't keep any work pending. I wanted to complete my work on time, otherwisw it Disturbs my routine also.
Telegram - https://t.me/Coding_human
⚡What is the difference between confidence and over confidence?
I can do it because I am well prepared, this is confidence & I can do it easily and I don't need to prepare, this is overconfidence.
Telegram - https://t.me/Coding_human
I can do it because I am well prepared, this is confidence & I can do it easily and I don't need to prepare, this is overconfidence.
Telegram - https://t.me/Coding_human
def countPalin(str):
count = 0
# splitting each word as spaces as
# delimiter and storing it into a list
listOfWords = str.split(" ")
# Iterating every element from list
# and checking if it is a palindrome.
for elements in listOfWords:
if (checkPalin(elements)):
# if the word is a palindrome
# increment the count.
count += 1
print (count)
# Driver code
countPalin("Madam Arora teaches malayalam")
countPalin("Nitin speaks malayalam")
Python
Palindrome count
Telegram - https://t.me/Coding_human
count = 0
# splitting each word as spaces as
# delimiter and storing it into a list
listOfWords = str.split(" ")
# Iterating every element from list
# and checking if it is a palindrome.
for elements in listOfWords:
if (checkPalin(elements)):
# if the word is a palindrome
# increment the count.
count += 1
print (count)
# Driver code
countPalin("Madam Arora teaches malayalam")
countPalin("Nitin speaks malayalam")
Python
Palindrome count
Telegram - https://t.me/Coding_human
n=input()
m=input()
if m in n:
print("yes")
else:
print("No")
Python
String within String Code
Telegram https://t.me/Coding_human
m=input()
if m in n:
print("yes")
else:
print("No")
Python
String within String Code
Telegram https://t.me/Coding_human
n = int(input())
A = int(input())
A1 = []
A2= []
A3= []
ans = 0
https://t.me/Coding_human
for i in range(n):
A1.append(int(input()))
for j in range(n):
A2.append(int(input()))
for k in range(n):
A2.append([p[k], b[k]])
a.sort()
for z in a:
if a[0] > N:
break
N += a[1]
ans += 1
print(ans)
Try this code for this question... Python 3
Telegram:-https://t.me/Coding_human
https://t.me/infosys_sp_dsp_all_code
A = int(input())
A1 = []
A2= []
A3= []
ans = 0
https://t.me/Coding_human
for i in range(n):
A1.append(int(input()))
for j in range(n):
A2.append(int(input()))
for k in range(n):
A2.append([p[k], b[k]])
a.sort()
for z in a:
if a[0] > N:
break
N += a[1]
ans += 1
print(ans)
Try this code for this question... Python 3
Telegram:-https://t.me/Coding_human
https://t.me/infosys_sp_dsp_all_code
Guys ❤️
Infosys Exam on 29/7/22 , 30/7/22,31/07/22
Telegram:- https://t.me/infosys_sp_dsp_all_code
https://t.me/Coding_human
Note : Some codes are already in the channel/group, you can search the code by their names.
Infosys Exam on 29/7/22 , 30/7/22,31/07/22
Telegram:- https://t.me/infosys_sp_dsp_all_code
https://t.me/Coding_human
Note : Some codes are already in the channel/group, you can search the code by their names.