Converting .py to .exe | Python Tutorials For Absolute Beginners In Hindi #87

Поделиться
HTML-код
  • Опубликовано: 18 сен 2024
  • ►Source Code + Text Tutorial - www.codewithha...
    ►Full Python tutorials for absolute beginners (Hindi) playlist - • Python Tutorials For A...
    ►Click here to subscribe - / @codewithharry
    Best Hindi Videos For Learning Programming:
    ►Learn Python In One Video - • Learn Python In Hindi ...
    ►Learn JavaScript in One Video - • JavaScript Tutorial
    ►Learn PHP In One Video - • Learn Php In One Video...
    ►Machine Learning Using Python - • Machine Learning Tutor...
    ►Creating & Hosting A Website (Tech Blog) Using Python - • [Hindi] Web Developmen...
    ►Advanced Python Tutorials - • Intermediate/Advanced ...
    ►Object Oriented Programming In Python - • Object Oriented Progra...
    ►Python Data Science and Big Data Tutorials - • Python Data Science an...
    Follow Me On Social Media
    ►Website (created using Flask) - www.codewithha...
    ►Facebook - / codewithharry
    ►Instagram - / codewithharry
    ►Personal Facebook A/c - / geekyharis
    Twitter - / haris_is_here

Комментарии • 889

  • @rahulvatsa6160
    @rahulvatsa6160 5 лет назад +121

    Happy Teachers day. Harry Bhaiya. :)

  • @shashankverma4044
    @shashankverma4044 5 лет назад +19

    #ChallengeAccepted
    n=int(input("Enter a number"))
    for i in range(1,n+1):
    print(i,end=" ")
    Thank you so much Harry for such amazing videos :)

  • @codepy3362
    @codepy3362 4 года назад +32

    a=" "
    while a != 'quit':
    a = eval(input('enter your number') )
    for i in range(1 , a+1) :
    print(i, end=' ')

  • @diwakarsingh8455
    @diwakarsingh8455 3 года назад +23

    You're the most underrated RUclipsr of india man seriously, your content is pure gold . You really deserve so much recognition . Loved the content . Keep it up bro ❤️ and thanks 😊

  • @alokbhowmik3547
    @alokbhowmik3547 5 лет назад +50

    for i in range(int(input())):
    print(i,end=" ")

    • @53_sanidhyagupta55
      @53_sanidhyagupta55 3 года назад

      meri folder me module install karne kai baad bhi file not found aaraha h any solution?

    • @cadarena2454
      @cadarena2454 3 года назад +4

      @@53_sanidhyagupta55 i found the solution, jab aap main.txt file bana rahey hai usska format already txt mein hai, so it will be main.txt.txt.. just remove the txt from your file name, usskey baad yeh error throw nahin karega.. try it..

    • @53_sanidhyagupta55
      @53_sanidhyagupta55 3 года назад +1

      @@cadarena2454 yeah ! Thanks for help

    • @Dontpushyour_luck
      @Dontpushyour_luck 3 года назад +1

      @@cadarena2454 thanks for the help this small thing has been troubling me from last 15 minutes

    • @qpwoeiruty558
      @qpwoeiruty558 2 года назад

      Alok how is this one line?

  • @helloitshecker
    @helloitshecker 2 года назад +50

    you can add "exit = input(" ")" in the end to avoid the auto close problem
    👍

    • @anubhavjha7704
      @anubhavjha7704 2 года назад +6

      Even
      input ()
      Alone will also work, no need for a variable exit.

    • @imamiastudycentre
      @imamiastudycentre 2 месяца назад +1

      @@anubhavjha7704 input() by default is taking string but in this program we are calculating so it is good practice to typecast our input

  • @ayushgupta7500
    @ayushgupta7500 5 лет назад +18

    a=int(input("enter no:"))
    for i in range(1,a+1):
    print(i,end=" ")

  • @Vineeth_Kumar.
    @Vineeth_Kumar. 9 месяцев назад +2

    N = int(input())
    for i in range(1, N+1):
    print(i,end=" ")

  • @sarthakkale8498
    @sarthakkale8498 4 года назад +11

    I accept the challenge.
    Solution:
    print([f"{i + 1} " for i in range(int(input("Enter a number: ")))])

  • @akashdeysarkar619
    @akashdeysarkar619 3 года назад +1

    a = int(input("Enter No."))
    i = 0
    while (i

  • @Alex-vl4gu
    @Alex-vl4gu 3 года назад +6

    10:57
    print("🍩ye lo bhaiya mitai khalo")

  • @shyampatel7038
    @shyampatel7038 3 года назад +10

    [print(i,end=" ") for i in range(int(input("enter number=")))]

    • @sharadindupaul5933
      @sharadindupaul5933 3 года назад +2

      [print(i, end=" ") for i in range(1, int(input("enter number=")))]

    • @tusharbatra8648
      @tusharbatra8648 3 года назад

      lst=[i for i in range(int(input("enter number="))+1)]
      print(lst)

  • @hariomsinghrajput5334
    @hariomsinghrajput5334 2 года назад +3

    num = int(input("Enter a number: "))
    for i in range(1, num+1):
    print(i, end=" ")

  • @sangamchaurasiya9797
    @sangamchaurasiya9797 3 года назад

    n = int(input('Enter the number : '))
    i = 1
    while(i

  • @ankitjain3930
    @ankitjain3930 5 лет назад +3

    single liner
    for i in range (1,int(input("Please select a number"))+1): print(i,'', end='')

  • @ahmarshayan9619
    @ahmarshayan9619 Год назад

    var= int(input("Enter a number of your choice "))
    i=0
    while(i

  • @megaempireminecraft9379
    @megaempireminecraft9379 2 года назад +1

    class Solve():
    def printn(self, n):
    for i in range(1, n+1):
    print(i, end=" ")
    s = Solve()
    s.printn(int(input("enter number: ")))

  • @krishna290gamer2
    @krishna290gamer2 Год назад +1

    n = int(input("Enter the number: ")
    print(i for i in range(1, n+1))

  • @ayushranjan6644
    @ayushranjan6644 2 года назад

    def printnumbers():
    i=1
    n=int(input("enter the desire number"))
    while(i

  • @mukeshnarayan9101
    @mukeshnarayan9101 4 года назад +8

    #Made by Bhaskar Anand
    n=int(input(">"))
    for i in range(1,n+1):
    print(i,end=" ")

  • @EasyLearning7
    @EasyLearning7 4 года назад +4

    h1 = int(input("Enter a Number for user choice"))
    for i in range(1, h1+1):
    print(i)

  • @jonyghosh7594
    @jonyghosh7594 2 года назад

    print("Enter n :-")
    i = 1
    while i

  • @ac695
    @ac695 3 года назад

    i = 1
    n = int(input("Enter any positive integer
    >> ")
    while i

  • @sarthakkhare4600
    @sarthakkhare4600 4 года назад +3

    From this i am very excited as the main project videos are coming....😎😎😎😎

  • @satyamtrivedi9771
    @satyamtrivedi9771 5 лет назад +11

    I accept the challenge
    Solution:
    n = int(input())
    for i in range(1,n+1):
    print(i,end=' ')

  • @dhruvingupta5648
    @dhruvingupta5648 2 года назад +1

    i = 1
    a = int(input("number -- "))
    while i

  • @manthanrathod1046
    @manthanrathod1046 4 года назад +31

    to avoid cmd closure, add an input() to the end of the file and it'll wait for you to press a key to close

  • @SuperMohit009
    @SuperMohit009 4 года назад

    i=1
    J=input ("Enter number : ")
    While i

  • @ShubhamGupta-qk9uq
    @ShubhamGupta-qk9uq 5 лет назад +3

    i = int(input("Enter a number :"))
    for t in range(i):
    print(t+1,end=',')

  • @divyarawatt
    @divyarawatt 2 года назад

    n=int(input())
    i=1
    while(i

  • @banshbahadurpatel4967
    @banshbahadurpatel4967 5 лет назад +4

    for x in range (1,int(input())+1): print(x,end=" ")

  • @7guitarlover
    @7guitarlover 3 года назад +1

    @Harry bhai ! Thankyou sooooo much bhai ! 5 hours se solution dhund rha tha ! power shell made all the difference ! It told me that the image was inaccessible and font used was missing thankyou bhai ! thankyou a thousand times

  • @sakalagamingyt3563
    @sakalagamingyt3563 2 года назад +1

    Challange accepted ans the solution
    n = input("Enter a number
    > ")
    for i in range(1,int(n)+1):
    print(i,end=" ")

  • @pushpendradas184
    @pushpendradas184 3 года назад +3

    print(*range(1,int(input())+1))
    Yes it does all your work in just one line try to use it on your code if you want to reduce lines of code
    @CodeWithHarry

  • @satiregurujishorts
    @satiregurujishorts Год назад

    Print Numbers upto n in a single line---
    n = int(input("Enter number:"))
    for i in range(1,n+1):
    print(i, end=" ")
    #codewithharry

  • @hardikspatel4090
    @hardikspatel4090 5 лет назад +4

    Sir aap ki hindi language me video bahut helpful he plz Aeysi hi video banate rhiye

  • @PiyushMedicalKnowledge
    @PiyushMedicalKnowledge 3 года назад +2

    Make some real life GUI based PYTHON programs and then convert them to exe which runs without installing PYTHON and without opening powershell.
    Also convert that to apk file which runs on ANDROID phone.
    Remember must be
    GUI based.

    • @PiyushMedicalKnowledge
      @PiyushMedicalKnowledge 3 года назад +1

      At least make GUI based calculator which I can make exe or apk and send them to my friends.

  • @ishtiaqahmad4118
    @ishtiaqahmad4118 4 года назад +9

    You have given a Great Idea. Thanks, a lot of thanks. Really you are sincere personality. Really a great gift for all persons, those are watching your videos.
    I.A.Siddiqui, Karachi-PAKISTAN

  • @udaysinghrana5725
    @udaysinghrana5725 3 года назад

    def numbers(num):
    return list(range(1,num+1))
    if __name__ == '__main__':
    print(numbers(int(input())))

  • @bugsfounder
    @bugsfounder 2 года назад +1

    userInput = int(input("Enter a number: "))
    i = 0
    while i in range(userInput):
    print(i + 1)
    i += 1

  • @DOWN3X_FF
    @DOWN3X_FF 7 месяцев назад

    n = input()
    st =''
    i =0
    try:
    n = int(n)
    while(i

  • @keshavmanuja1348
    @keshavmanuja1348 3 года назад

    Accepted,
    print("Print the number you want")
    n=int(input())
    for i in range(1,n+1):
    print(i, end=" ")

  • @TheFahad318
    @TheFahad318 2 года назад

    Nice revision :)
    print([i for i in range(1,int(input())+1)])

  • @ashokkumarmaurya1192
    @ashokkumarmaurya1192 3 года назад +1

    n=input(" enter the no.")
    for a in (1,n):
    print(a)
    print ("challenge accepted")

    • @jonnathangiant6582
      @jonnathangiant6582 3 года назад

      Wrong
      a = int(input())
      for a in range (1,a+1):
      print(a , end= " ")
      This should have been the code

  • @ShivamPatel-tu9tp
    @ShivamPatel-tu9tp 2 года назад +1

    for i in range(1,int(input("enter your number"))+1): print(i)

  • @dimpleverma1181
    @dimpleverma1181 2 года назад +1

    Whenever I get any doubt like this I never Go to Google Rather I come to RUclips and search the doubt on your channel sir. BECAUSE YOU ARE THE BIGGEST DOUBT SOLVER.

  • @tanuwinnie3178
    @tanuwinnie3178 3 года назад +1

    accept the challenge.
    n=int(input("Enter the last no. of term"))
    for i in range(1,n+1)
    print(i)

  • @RohanSharma-qr5fy
    @RohanSharma-qr5fy Год назад

    for i in range(1, int(input('Enter the number
    '))+1, 1): print(i,end=' ')
    The challenge in one line

  • @Pawan.Kumar.2611
    @Pawan.Kumar.2611 2 года назад

    for i in range(int(input("enter number till which you want to print:"))+1): print(i,end=" ")

  • @sackhhamjha2234
    @sackhhamjha2234 3 года назад

    i accept the challenge till = int(input("enter the desired number"))
    till = int(input("enter the desired number: "))
    start = 0
    while start < till+1:
    print(start, end=" ")
    start += 1

  • @crazy_movserclips2979
    @crazy_movserclips2979 2 года назад +1

    i except this challenge.
    print("enter You want to print all n numbers up to n numbers like n numbers.")
    n_number=int(input())
    for num in range(1,n_number+1):
    print(num)

  • @vishalwaghare1962
    @vishalwaghare1962 5 лет назад

    N=int(input("enter the n value"))
    i=0
    while(i

  • @anhadsinghnarang1260
    @anhadsinghnarang1260 2 года назад

    user_input=int(input("Till which number do you wish to print number?:"))
    i=0
    while i

  • @syedahmedrazashah8410
    @syedahmedrazashah8410 4 года назад +2

    U_input = int(input())
    for i in range(1, U_input+1):
    print(i, end=" ")

  • @stevendna8956
    @stevendna8956 3 года назад

    create a folder as pyin and open powershell by shift right click there.
    # type pip install pyinstaller
    # create a notepad and write some code.
    # type python .\main.txt in command prompt
    # type 4 enter then 5 enter we should get 9
    #
    # then type pyinstaller main.txt
    # dist folder is formed inside which there will be a .exe file ready

  • @WHITEDEVIL-nu5og
    @WHITEDEVIL-nu5og 3 года назад

    n=int(input("enter the number"))
    for i in range(1,n):
    print(i,end="")

  • @adityapatil7909
    @adityapatil7909 2 года назад

    I accept the challenge
    solution :-
    n = int(input("Enter the number till which you want to print the numbers : "))
    for a in range(1,n+1):
    print(a)

  • @namanagrawal4868
    @namanagrawal4868 4 года назад +1

    [print(i+1,end=' ') for i in range(int(input('enter the number of numbers you want to print')))]

  • @pushpendraverma1554
    @pushpendraverma1554 3 года назад

    I accept the challenge
    print(list(value for value in range(1,int(input('enter the number'))+1)))

  • @sachinsinghal3104
    @sachinsinghal3104 3 года назад

    I accept the challenge
    n = int(input())
    l = []
    for a in Range(0,n):
    l.append[a]
    print(l)

  • @kartikprajapati3592
    @kartikprajapati3592 2 года назад

    #challenge accepted
    #thanks for videos i learn so much fr9m you
    n=int(input("enter how much number you wanna print:-
    "))
    for i in range(1,n+1):
    print(i,end=" ")

  • @shadow-wr6uw
    @shadow-wr6uw Год назад

    Accepted!!
    n=int(input("enter number:-"))
    for i in range(0,n+1):
    print(i,end=" ")

  • @sandeepgiri715
    @sandeepgiri715 2 года назад

    # Print number from 1 to n in one line One line
    for x in range(0, int(input("Enter the number till when you print the sequence"))): print(x+1)

  • @DevPatel-hl1oq
    @DevPatel-hl1oq 3 года назад

    I Accept Challenge
    n = int(input("Enter one number: "))
    for i in range(1 , n+1):
    print(i , end=" ")

  • @bestest1121
    @bestest1121 2 года назад

    n=int(input("Pls enter your value - "))
    list=[]
    for i in range(1,n+1):
    list.append(str(i))
    nu=" ".join(list)
    print(nu)

  • @shankhagoswami785
    @shankhagoswami785 3 года назад

    i am new to your channel and i accept the challenge
    i think this will be the answer:
    a=int(input("enter a number:"))
    for i in range(1,a+1):
    print(i)
    pls give me a heart if my answer is correct pls sir

  • @mitrashishchowdhury6128
    @mitrashishchowdhury6128 3 года назад

    I accept the challenge.
    n=int(input("Enter the last no. of term"))
    for i in range(1,n+1)
    print(i)

    • @jonnathangiant6582
      @jonnathangiant6582 3 года назад

      No this is wrong
      n = int(input())
      for n in range (1,n+1):
      print(n , end= " ")
      This should have been the code

  • @Versebyasif
    @Versebyasif 3 года назад +2

    Thank u bhai
    May god bless you and your knowledge....🙏🏼🙏🏼

  • @RohanGohil-gr7wo
    @RohanGohil-gr7wo Год назад +1

    n=int(input("Enter a number"))
    for i in range(1,n+1):
    print(i,end=" ")
    aur apke liye gulab jamun
    🍩🍧🍨🍦🌹🫐

  • @meenuverma4650
    @meenuverma4650 4 года назад +1

    print('Enter your number')
    a = int(input())
    for i in range(a):
    print(i,end=" '")

  • @rohansengupta667
    @rohansengupta667 4 года назад

    print "enter just one number to seee all the number to there!!"
    here = int(raw_input(">>"))

    i = 0
    while i

  • @DendrocnideMoroides
    @DendrocnideMoroides 2 года назад

    I challenge the accept
    n = int(input("Enter a number: "))
    for i in range(1, n + 1):
    print(i, end=" ")

  • @jigarsiddhpura
    @jigarsiddhpura 2 года назад

    a = int(input())
    for i in range(1,a+1):
    print(i,end=' ')

  • @ApkaBhaiTechnical
    @ApkaBhaiTechnical 2 года назад

    # I accept the challenge
    n=int(input())
    for i in range(1,n+1):
    # n=n+1
    print(i,end=" ")

  • @ahmedabdussalam728
    @ahmedabdussalam728 2 года назад

    I accept the challenge
    Num = input("enter number")
    For i in range(num+1).reverse():
    Print(i)

  • @codifyit5567
    @codifyit5567 3 года назад +2

    Lovely Sir!!! I made a calculator and I wanted to convert it to .exe file!!! Your Video has helped me a lot.. Thank You So Much sir for such a lovely video!!!

  • @prthms_
    @prthms_ 4 года назад +1

    Very use full video...

  • @nikhilsarkar3657
    @nikhilsarkar3657 3 года назад

    n = int(input())
    for i in range(1,n+1):
    print(n)

  • @vivekvarshney3453
    @vivekvarshney3453 4 года назад +9

    Sir please tell me that how to create 1 exe file of a python program which is stored in a folder along with supported images, wav files etc.
    Please make a video on it

  • @hardikarora960
    @hardikarora960 3 года назад

    n = int(input("enter the number upto which you want to print the series"))
    for i in range(len(1,n+1)):
    print(i,end =" ")
    i+=1

  • @mohdasad4256
    @mohdasad4256 3 года назад

    check it
    for i in range(int(input("Enter any number : "))):
    print(i,end=" , ")

  • @ManishKumar-yf8jg
    @ManishKumar-yf8jg 4 года назад

    a = int(input("Enter the number upto which you want to print number"))
    i = 1
    while a>=i:
    print(i,end = ',')
    i= i+1

  • @prayagsapar1969
    @prayagsapar1969 3 года назад

    Challege by Harry Bhai...
    numbers=int(input("Number: "))
    for num in range(1,numbers+1):
    print(num,end=" ")

  • @Ajayi2it
    @Ajayi2it 4 года назад +3

    Hello Harry Bhai thank you for sharing the tutorial. I am the beginner of the Python and i am really enjoying the learning. I am looking for a tutorial where i can learn pyspark. If you have any material or videos please do comment.

  • @ParasRaina-ut6tl
    @ParasRaina-ut6tl Год назад

    I accept this challenge:
    n=int(input("Enter last number
    "))
    print([x for x in range(1,n+1)])
    input("
    Press any key to exit")

  • @SachidanandKumar-mg9lo
    @SachidanandKumar-mg9lo Год назад

    I accept the challenge : for i in range(int(input("Enter till where you want the counting"))+1) : print (i,end='')

  • @akshaynivate3085
    @akshaynivate3085 2 года назад

    # one line print till n number
    n=int(input("Enter a number"))
    print (*[i for i in range(1,n+1)])

  • @topeducationfree
    @topeducationfree 3 года назад +1

    YOU ARE BEST TEACHER

  • @siyamalav9702
    @siyamalav9702 4 года назад +7

    Challenge Accepted :
    for x in range(int(input("Till which number do you want to print counting :
    "))+1):print(x,end=" ")

  • @prathameshthikane1089
    @prathameshthikane1089 3 года назад

    n = int(input("Enter the value of n: "))
    for i in range(1,n+1):
    print(i,end=" ")

  • @adityagiri8069
    @adityagiri8069 2 года назад

    Revision question's answer:
    input1 = int(input("Enter thine number:
    "))
    for i in range(1, input1+1):
    print(i, end=" ")

  • @sheetalgupta1573
    @sheetalgupta1573 4 года назад

    i = int(input("enter a no. "))
    for x in range(1, i+1):
    print(x)

  • @amanuchitkar3315
    @amanuchitkar3315 Год назад

    for i in range(int(input("Enter the number: "))):print(i,end=" ")

  • @tuahakhan6236
    @tuahakhan6236 4 года назад

    def num_printer():
    user_input=int(input("Enter a number"))
    for m in range(user_input+1):
    print(m,end=' ')
    num_printer()

  • @aryanshrivastav7418
    @aryanshrivastav7418 3 года назад

    for i in range(1, int(input("please enter a number"))+1):
    print(i, end=" ")

  • @akashpatra518
    @akashpatra518 4 года назад

    I accept the challenge
    number = int(input('type your number')
    n = number + 1
    for item in range(1, n):
    print(item)

  • @ManjotSingh-sf5qn
    @ManjotSingh-sf5qn 2 года назад

    #here's the revision task
    i = int(input("Enter your integer
    "))
    i = i+1
    for n in range(1, i):
    print(n, end=" ")

  • @RajPatel-ip1ms
    @RajPatel-ip1ms 3 года назад

    for i in range(int(input("ENTER THE NUMBER WHICH PRINTS TILL THE END OF THAT NUMBER
    "))):print(i+1)

  • @kirtanwagh1156
    @kirtanwagh1156 3 года назад

    a=int(input("enter the number :-
    "))
    for i in range(a):
    print(i+1)

  • @jaydhumal2610
    @jaydhumal2610 2 года назад

    I accept the challenge
    code:
    for i in range(1,int(input())+1):
    print(i,end="")