Programming in Python I Loops - for loop, break & continue I Session - 7 | Hindi

Поділитися
Вставка
  • Опубліковано 6 лют 2023
  • Programming in Python I Loops - for loop, break & continue I Session - 7 | Hindi
    In this session, we have discussed:
    - revised while loop
    - revised break, while-else
    - for loop
    - range()
    - continue
    - for-else
    Some Questions you can try :
    Q1: WAP to input n and print all perfect squares till n (n inclusive).
    Q2: WAP to input a string and check whether it is a Palindrome or not using for loop.
    Q3: WAP to input n and print whether n is prime or not.
    Q4: WAP to input n and print the following pattern:
    n = 5
    1
    2 1 2
    3 2 1 2 3
    4 3 2 1 2 3 4
    5 4 3 2 1 2 3 4 5
    4 3 2 1 2 3 4
    3 2 1 2 3
    2 1 2
    1
    Follow me on my social handles:
    Bio link 🔗 param302.bio.link
    Twitter 🔗 / param3021
    LinkedIn 🔗 / param302
    Github 🔗 github.com/Param302
    Kaggle 🔗 kaggle.com/param302

КОМЕНТАРІ • 3

  • @user-lu1ci4ww3b
    @user-lu1ci4ww3b 9 місяців тому

    bhai koi watsaap group hai jisme aapke class ki link aati ho

    • @Param3021
      @Param3021  Місяць тому

      No😅

    • @trendwave08
      @trendwave08 21 день тому

      @@Param3021 from where i get your class link