Leetcode with dani
Open in Telegram
Join us and let's tackle leet code questions together: improve your problem-solving skills Preparing for coding interviews learning new algorithms and data structures connect with other coding enthusiasts
Show more1 257
Subscribers
-124 hours
-17 days
-1130 days
Posts Archive
1 258
Repost from 4-3-3 ስፖርት በኢትዮጵያ™
ቴሌግራማቹን ከአጭበርባሪዎች ይጠብቁ!!!
ቴሌግራም ላይ ከማንኛውም ሰው በ cutt.ly ወይም bit.ly የሚጀምር ማንኛውም ሊንክ ተልኮላችሁ ስታገኙ እንዳትከፍቱት ምክንያቱም ሰሞኑን የመጣ ቫይረስ አለ ሙሉ ለሙሉ የተፃፃፋችሁትን እና Join ያደረጋችሁትን ቻናሎች ሁሉ ያጠፋውና እንደ አዲስ ነው አካውንት ክፈቱ የሚላቹ ይሔ ትልቅ ጥንቃቄ የሚያስፈልገው ነገር ነው ።
እንደዚህ ዓይነት ሊንኮች በምታውቋቸው ሰዎች ስም ጭምር ሊላክላችሁ ይችላል ነገር ግን በጭራሽ እንዳትከፍቱ።
በተጨማሪም ከሀከሮች አካውንታችሁን ለማዳን በምታስታውሱት Password Two-Step Verification On አድርጉ!
#Share በማድረግ ለምታውቁት ሰው ይላኩ!
@Bisrat_sport_433et @Bisrat_sport_433et
1 258
what is th out put of this code?
print(5 ** 2 // 7 == (not(2 // 5 == 5)))
1 258
n=int(input('number:'))
num=0
if n < 0:
n=-n
while n > 0:
no=n%10
if no % 2 != 0:
num+=1
n=n//10
print(num)
1 258
n=int(input('number:'))
num=0
if n < 0:
n=-n
while n > 0:
no=n%10
if no % 2 != 0:
num+=1
n=n//10
print(num)
1 258
write a program that count number of odd number in the given number.
example:- input=3687 .#output=2
1 258
from the comments
#in the form of list
import random
def easy():
lis = []
i = 0
while i < 7:
lis.append(random.randint(1,9))
i+=1
print(lis)
easy()
1 258
write a program that generate 7 random number in the form of list from one ab to 9.
1 258
n = int(input('number: '))
total = 0
for i in range(2,n,2):
print(i)
total +=1
print(f'we have {total} even numbers')
1 258
def even(n):
ctr=0
for i in range (1,n):
if i%2==0:
ctr +=1
print(i)
print(f“we have {ctr} even numbers”)
even(10)
1 258
write a program that generate 7 random number in the form of list from one ab to 9.
1 258
#out put
2
4
6
8
we have four even numbers
#write a code for the above out put
https://t.me/zethioprograming
1 258
here is the solution for the above problem
def sum_squared(n):
sum=0
while n>0:
no=n%10
sum=sum+no**2
n=n//10
print(sum)
https://t.me/zethioprograming
n=int(input(' '))
sum_squared(n)
Available now! Telegram Research 2025 — the year's key insights 
