No video

Armstrong Number in Python Tamil | Python | hems hema

  Рет қаралды 27,089

HEMALATHA K

HEMALATHA K

Күн бұрын

An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself.

Пікірлер: 41
@thirugnanamd2429
@thirugnanamd2429 4 жыл бұрын
Your video help to my computer practical.Thank you .
@bgmiyt3964
@bgmiyt3964 18 күн бұрын
Good explanation Akka Thanks....lots
@syedusman3324
@syedusman3324 2 жыл бұрын
Correct logic : order = len(str(num)) And in while loop : instead of sum = sum+ digit**3 you must replace sum+= digit*order
@jayabharathiv7502
@jayabharathiv7502 Жыл бұрын
It's digit**order
@gayatridevi25
@gayatridevi25 3 жыл бұрын
If u gave real time input how will find the order of digit? U directly written the order of number as 3 how it is possible,jf user gave input as 1234 than how it works?
@parameshwaran3218
@parameshwaran3218 3 жыл бұрын
Correct. This code only works for 3 digits. This code doesn't work on 1,2, 4 digits. For that you need define another variable after temp = num. You have to define power = len(str(num)). (the name power can be anything as your wish. Also you can't get the length an integer that's why you have convert it to string as len(str(num)). And in loop, instead of sum = sum + digit **3 use sum = sum + digit ** power. This will work.
@kaviyarasan9275
@kaviyarasan9275 2 жыл бұрын
num = int(jnput('enter positive number)) add=0 temp = num Power = len(str(num)) While temp >0: digit = temp %10 add+=digit ** power temp = temp// 10 If num == add : Print (num, "is Armstrong number") else : Print (num,"is not Armstrong number")
@kaviyarasan9275
@kaviyarasan9275 2 жыл бұрын
This code based on your video thanks
@mathankumar2870
@mathankumar2870 11 ай бұрын
Super explanation madam tq so mach ethu enaku puriyama eruthuchu but eppo clear understand 😊python looping and next leval program innum neraya vedio potuga madam 😊
@dineshkumarr3932
@dineshkumarr3932 4 ай бұрын
good explanation akka....romba easy ha purinjichu
@SyedAnwar_H
@SyedAnwar_H Жыл бұрын
good and clear explanation but next time kindly improve the camera stabilization. Thank you Hema...
@PAVITHRA0518
@PAVITHRA0518 10 ай бұрын
Super ah solli koduthinga sister🎉
@GaneshKumar-zy2er
@GaneshKumar-zy2er 8 ай бұрын
Hi Thank you hema yesterday i had this in yesterday interview and another question also i faced find the given number is rational number? Can u upload program video for this with clear explanation like this.
@IlamBarathi-2006
@IlamBarathi-2006 5 ай бұрын
Thank you sister ❤
@RyanSam-ep8in
@RyanSam-ep8in Жыл бұрын
thank you so much sister., may god bless you
@hemalathak8823
@hemalathak8823 Жыл бұрын
Most welcome 😊
@alluarjun8987
@alluarjun8987 Ай бұрын
sister, why using temp please explain. Can't we write as like the previous reverse the integer problem. without temp variable.???
@ManoTechOfficial
@ManoTechOfficial Ай бұрын
python programs naraya nadathunga sis engalukku use full la erukkum
@kishoretoretto5322
@kishoretoretto5322 Жыл бұрын
U missed one this sister In python one // will take the only 15 if we put / then it would take 15.3 it will take the decimal values too
@Joepic_tamil
@Joepic_tamil 2 жыл бұрын
Nice
@mathankumar2870
@mathankumar2870 11 ай бұрын
Madam for loop and while loop konjo explain panni vedio potuga
@BTS-LIVE_lan
@BTS-LIVE_lan 2 жыл бұрын
Tq sis
@ramakrishnana4004
@ramakrishnana4004 Жыл бұрын
Super explanation
@TomTom-rh2ho
@TomTom-rh2ho 2 жыл бұрын
Thank you so much
@jayakumarh771
@jayakumarh771 Жыл бұрын
Clear explanation.
@venamber7
@venamber7 3 жыл бұрын
Find length and replace it!
@TecRox-
@TecRox- 3 жыл бұрын
அக்கா சூப்பர் 👍
@findmusic3060
@findmusic3060 2 жыл бұрын
super explanation mam
@selvarjun2321
@selvarjun2321 3 жыл бұрын
thank you so much mam
@pachamuthumoorthy8992
@pachamuthumoorthy8992 2 жыл бұрын
Mam vera lvl😍
@jasmineg2189
@jasmineg2189 Жыл бұрын
Useful mam
@kanchanamalagurusamy5632
@kanchanamalagurusamy5632 3 жыл бұрын
clear explanation👏👏
@Jeevantherockstar2717
@Jeevantherockstar2717 3 жыл бұрын
Good explanation
@cybermadzz7631
@cybermadzz7631 3 жыл бұрын
Akka super
@karthickeyann245
@karthickeyann245 3 жыл бұрын
❤️❤️❤️❤️🙏🙏🙏
@arunpandiyane4728
@arunpandiyane4728 10 ай бұрын
1%10=0.1 answer
@arunpandiyane4728
@arunpandiyane4728 10 ай бұрын
Apuram eppadi 1 answer vanthuchi
@aravind4194
@aravind4194 7 ай бұрын
​​@@arunpandiyane4728Mela paru bro int(input ("enter the number ") nu irukku apadina nama kudukura value oda answer single digit la than varum decimal la varathu athuvai float(input ("enter the number ") nu kudutha decimal la varum eg:0.1 ,0.2 apadi simple la solanum na float na decimal ,int decimal illama varum
@nethradevis4523
@nethradevis4523 6 ай бұрын
​@@aravind4194😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂
@DeepasreeR
@DeepasreeR Ай бұрын
U r wrong
@DeepasreeR
@DeepasreeR Ай бұрын
Answer 1
Python Program #17 - Check Armstrong Number in Python
8:44
Programming For Beginners
Рет қаралды 6 М.
The Joker kisses Harley Quinn underwater!#Harley Quinn #joker
00:49
Harley Quinn with the Joker
Рет қаралды 19 МЛН
Whoa
01:00
Justin Flom
Рет қаралды 46 МЛН
Чёрная ДЫРА 🕳️ | WICSUR #shorts
00:49
Бискас
Рет қаралды 6 МЛН
白天使选错惹黑天使生气。#天使 #小丑女
00:31
天使夫妇
Рет қаралды 15 МЛН
python program to find the given number is palindrome or not/python language tamil
18:16
Armstrong number in python
6:16
The Programming Portal
Рет қаралды 110 М.
Palindrome Program in Python
4:52
Example Program
Рет қаралды 167 М.
How to solve Armstrong number in Python | Explanation in Tamil
8:11
Tamil IT Dude
Рет қаралды 1,8 М.
#38 Python Tutorial for Beginners | Fibonacci Sequence
8:01
Telusko
Рет қаралды 785 М.
K-Means Clustering Algorithm with Python Tutorial
19:20
Andy McDonald
Рет қаралды 98 М.
The Joker kisses Harley Quinn underwater!#Harley Quinn #joker
00:49
Harley Quinn with the Joker
Рет қаралды 19 МЛН