🚀 Full Stack Python || Pt-26: Unleash Python Magic with Numbers! 🐍💡 🔢🔄📝 📚✨ Free Notes!

preview_player
Показать описание
Python FSD Training | Logic Building | Projects | Frontend | Backend | Projects
-
Contact for Online Live Training:
~~~~~

Enroll Now: Join Live Full Stack Training
~~~~~~~~~~~~~~~~~~~~~~~~~~~

DSA with Python:
~~~~~~~~~~~~~~~

Basic & Adv Python - Python Module
-----------------------------------------

Bootstrap 5 - UI Module
---------------------------------------

JavaScript - UI Module
---------------------------------------

React JS - UI Module
---------------------------------------

Django - Backend Module
------------------------------------------

Basic & Adv Python 📝Notes:

Basic & Adv Python 📝Handwritten notes:
--------------------------------

React JS 📝Notes:
------------------------------------

Django 📝Notes:
-----------------------------

UI Module Notes:
-------------------------------

#htmlAndCssProjectsForPractice
#bestProjectToLearnHtmlCssAndJavascript
#javaFullStackInterviewQuestionsAndAnswers
#htmlTutorialForAdvanced
#howToWriteAJavaScriptProgramInHtml
#pythonFullStackDeveloperInterview
#whatIsFullStackWebDevelopment
#howToBecomeJavaFullStackDeveloper
#projectsToLearnJavaScript
#htmlCssJavascriptProjectAdvanced
#masterHtmlCssJavascript
#fullStackWebDevelopmentFullCourseInHindi
Рекомендации по теме
Комментарии
Автор

👋 Everyone, kindly "practice the code" & { drop } your code here in the [ comment section ] of this video! 🚀👩‍💻👨‍💻 Let's collaborate and learn together. Happy coding! 🌟

practice = 0
confident = False

while not confident:
practice += 1
if confident==True:
break

print("Congratulations! 🎉 You have practiced", practice, "times and gained confidence in coding. Keep it up! 👏")

navaidmails
Автор

Notes available in Description, kindly check.📔

navaidmails
Автор

Write a program to check even and odd digits in input number
# num=int(input("Enter Number"))
# ecount=0
# ocount=0
# while num > 0:
# digit=num%10
# num=num//10
# if digit%2==0:
# ecount=ecount+1
# else:
# ocount=ocount+1

# print(f'Even count is {ecount} and odd count is {ocount}')

hamdardkhan-iv
Автор

num=int(input("Enter Number:"))
# sum=0

# if num ==0:
# sum=1
# else:
# while num>0:
# num=num//10
# sum=sum+1
# print(f'count of digit {sum}')

hamdardkhan-iv
Автор

write a program to find length of number or count of digits
# num=int(input("Enter a number: "))
# to_string=str(num)
# length_of=len(to_string)
# print(f'{length_of} digits in {num}')

hamdardkhan-iv
Автор

num=int(input("Enter a number: "))
org=num
length=len(str(num))
sums=0
while num > 0:
digits = num % 10
sums = sums + (digits**int(length))
num = num // 10
if org == sums:
print(f'{org} is Armstrong number')
else:
print(f'{org} is not Armstrong number')

aperxmim
Автор

Write a program to find sum of digits
# num=int(input("Enter Number:"))
# sum=0
# while num >0:
# digit=num%10
# sum=sum+digit
# num=num//10
# print(f'sum of digit {sum}')

hamdardkhan-iv
Автор

# Write a program to print number in words

num = int(input("Enter any number : "))
reverse = 0
while num > 0 :
digit = num % 10
reverse = reverse * 10 + digit
num = num // 10
while reverse > 0 :
digit = reverse % 10
reverse = reverse // 10

match(digit) :
case 0 :
print("Zero", end=" ")
case 1 :
print("One", end=" ")
case 2 :
print("Two", end=" ")
case 3 :
print("Three", end=" ")
case 4 :
print("Four", end=" ")
case 5 :
print("Five", end=" ")
case 6 :
print("Six", end=" ")
case 7 :
print("Seven", end=" ")
case 8 :
print("Eight", end=" ")
case 9 :
print("Nine", end=" ")
case _ :
print("Invalid Input")

Output :
Enter any number : 123
One Two Three

i_am_bhargav____
Автор

write a program to check a number is armstrong or not
# Armstrong No is 1**3 +5**3 + 3**3
num=int(input("Enter a number: "))
temp=num
sum=0
while temp>0:
digit=temp%10
sum=sum+digit**3
temp=temp//10
if num==sum:
print(f'{num} is Armstrong number')
else:
print(f'{num} is not Armstrong number')

hamdardkhan-iv
Автор

num=int(input("enter value:"))
s=0
org=num
l=len(str(num))
while num>0:
d=num%10
s=s+(d**l)
num=num//10
if org==s:
print("it is an Armstrong")
else:
print("it is not an Armstrong")

varshithreddy
Автор

Sir 125+27+3 =155 not 153 kindly check it

hamdardkhan-iv
Автор

# write a program to get input and find given number is armstrong or not.
num = abs(int(input("enter no:")))
org = num
# changed num variable to string
# and calculated the length (number of digits)
l = len(str(num))
s = 0
while num>0:
d = num%10
s = s+(d**l)
num = num//10
if org == s:
print(f"{org} is Armstrong number")
else:
print(f"{org} is not Armstrong number.")

sanjeevjha
Автор

Perfect number or not

num = int(input('Enter a Number: '))
s=0
d=num-1
while 0<d<num:
if num%d==0:
s+=d
d-=1
else:
d-=1

if s==num:
print(f'{num} is a PERFECT number')
else:
print(f'{num} is not a PERFECT number')

sourabh
Автор

Armstrong or not

num=int(input('Enter a number: '))
c=0
s=0
num2=num
while num2>0:
num2 = num2//10
c+=1

num3=num

while num3>0:
d=num3%10
num3=num3//10
s=s+d**c

if s==num:
print(f'{num} is a ARMSTRONG number')
else:
print(f'{num} is not a ARMSTRONG number')

sourabh
join shbcf.ru