Def countUppercase(s):
count=0
for i in s:
if i.isupper():
count+=1
s=s.replace(i, "")
else:
s=s.replace(i, "")
countUppercase(s)
return count
element=input("Enter the string: ")
string=countUppercase(element)
print("\nNumber of upper letter in the string: ",string)
Answer:
huwugsgssuaihsux h baiThatha svaadishht us
Answer:
"ethical aspects of genetic engineering" AND site:.edu
Explanation:
Google search defines the following operators:
" " --> search for the exact phrase between <em>quotes</em>.
site: --> search for specific <em>sites </em><em>or domains </em>by adding "site:" in front.
AND --> Limit results to include both statements joined with <em>AND</em>.
In a generic way:
" <em>exact phrase to search</em> " AND site: <em>domain</em>
In this example:
" ethical aspects of genetic engineering " AND site:.edu