ar
Feedback
O Level Previous paper

O Level Previous paper

الذهاب إلى القناة على Telegram

https://youtube.com/@Satya806 सभी लोग इस Channel को Subscribe कर लो https://t.me/O_levelpaper Telegram group Quiz 👉https://t.me/o_levelsatya #M4-R5_Paper #M2R5 #O_Level #M3R5_Notes #M1R5Video #PaidClass_O_Level #O_Level_Notes #Satya_Sir

إظهار المزيد
732
المشتركون
لا توجد بيانات24 ساعات
-17 أيام
-130 أيام
أرشيف المشاركات
# Leap year program in Python using if else year = int(input("Enter a year: ")) if year % 4 == 0: if year % 100 == 0: if year % 400 == 0: print(year, "is a leap year") else: print(year, "is not a leap year") else: print(year, "is a leap year") else: print(year, "is not a leap year")

Enter the starting number: 1 Enter the ending number: 100 Armstrong numbers between 1 and 100: 1 2 3 4 5 6 7 8 9

# Armstrong numbers between two intervals in Python using for loop def is_armstrong_number(number): num_str = str(number) num_digits = len(num_str) sum_of_digits = sum(int(digit) ** num_digits for digit in num_str) if sum_of_digits == number: return True else: return False # Example usage start = int(input("Enter the starting number: ")) end = int(input("Enter the ending number: ")) print(f"Armstrong numbers between {start} and {end}:") for number in range(start, end + 1): if is_armstrong_number(number): print(number)

Output 👉 Armstrong numbers between 1 and 10,000: 1 2 3 45 6 7 8 9 153 370 371 407 1634 8208 9474

➡️Types -02 # Python program to print all Armstrong numbers between 1 and 10,000 def is_armstrong_number(number): num_str = str(number) num_digits = len(num_str) sum_of_digits = sum(int(digit) ** num_digits for digit in num_str) if sum_of_digits == number: return True else: return False print("Armstrong numbers between 1 and 10,000:") for number in range(1, 10001): if is_armstrong_number(number): print(number)

👉Output Enter the starting number: 100 Enter the ending number: 500 Armstrong numbers between 100 and 500: 153 370 371 407

➡️ Types -01 Find Armstrong Number Between Two Intervals in Python

Find Armstrong Number Between Two Intervals in Python

आज रात में आप सभी को O Level Practical महत्वपूर्ण प्रश्न भेज दिया जायेगा 👆

महत्वपूर्ण सूचना 👆
महत्वपूर्ण सूचना 👆

महत्वपूर्ण सूचना 👆
महत्वपूर्ण सूचना 👆

महत्वपूर्ण सूचना 👆👆👆
महत्वपूर्ण सूचना 👆👆👆

नया_कानून_1_जुलाई_से_लागू.pdf5.12 MB

भारत दूसरी बार T 20 विश्व कप विजेता बना - 2024 ✔️
भारत दूसरी बार T 20 विश्व कप विजेता बना - 2024 ✔️

विराट कोहली ने लिया टी20 से सन्यास 🥹
विराट कोहली ने लिया टी20 से सन्यास 🥹

वंदे मातरम ❤️❤️❤️❤️❤️❤️❤️
वंदे मातरम ❤️❤️❤️❤️❤️❤️❤️

👉Champions 🏆
👉Champions 🏆

सच बतायें तो ऐसा लग रहा है यह सपना है 😭

THE EXAMS..!!: विश्व विजेता भारत❤️ Congratulations to every Indian India won the world cup by 7 runs 💐

HTML Notes Handwriting .pdf