While Loops In Python | Python Tutorials For Absolute Beginners In Hindi #17

preview_player
Показать описание


Best Hindi Videos For Learning Programming:

Follow Me On Social Media
Рекомендации по теме
Комментарии
Автор

Thanks sir u turned me from beginner to advanced programmer because of u I am doing job in Google now thanks sir

tvserialpremier
Автор

av = 10
x = int(input("how much candy you want?"))
i = 1
while i <= x:
if i >av:
print("out of stock")
break
print("candy")
i += 1
print("bye bye")

rkp
Автор

print("enter your day=")
i=int(input())
while(i<30):
i=i+1
total=30-i
print("Day=", i)
print("Total days left for month end=", total)

neelpatel
Автор

Thank you harry for such a great content . I learned c from your c programming playlist and now learning python .

pradeeprajeshmundlik
Автор

This code is honest and it is not copied from anywhere:



This is a program to know whether an entered number is Prime or Composite :

a = int(input("Enter a number: "))

i = 2

c = 1



while (i<a):

if (a % i == 0):

c = c + 1

i = i + 1

if (c == 1):

print("It is a prime number")

else:

print("It is a composite number")

prakashbanjade
Автор

print("enter the current year")
i=int(input())
while(i<2030):
i=i+1
print("the years till 2030 are", i)

visheshtripathi
Автор

0:06 from 3.2k subs to 1.74 M subs in 1 and a half years, that's a nice milestone, Keep growing

rein
Автор

day = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
i = 1
while(i<len(day)):
print(i + 1, day[i])
i=i+1

lipsmackin
Автор

print("enter your day=")
i=int(input())
if(i<30):
total=30-i
print("Total days left for month end=", total)

this is to count how many days left In a month of 30 days using for loop

stageddragon
Автор

harry bhyaa, y video bnaate time aapke 3K hi subscriber
or ek abhi
gajab harry bhyaa...👏👏🤜🤛👌👌👌😍😍

sumitbangra
Автор

harry bhai really impressive your videos

print("Enter your age")
i=0
while(i<18):
print(i)
i=i+1

singhvishal
Автор

i = 0
while(i < 10):
print(i)
i = i+1
for item in range(0, 10):
print(item)

sagnikroy
Автор

num = int(input("Enter the Number which you wants to Display:"))
i = 1
print("Your Number is:", num)
while i<=10:
print(num, "*", i, "=", num*i)
i = i+1

Kumari_Kajal
Автор

Calm down bro I am watching your videos from playlist 😂

zenhacking
Автор

You actually make learning so much fun.. :)

enjoying your lectures since the first one.. Thanks a lot.

ig
Автор

Program to print table of 2:
i = 1
while (i<=10):
print("2", "x", i, "=", 2*i)
i =i+1

Fan of Harry

h.sverma
Автор

while(True):
print("enter your guess no.")
guess=int(input())
if guess==100:
print(" congratulations! your guess is correct")
break
elif guess<100:
print("oops! Try again")
continue
else:
print("wrong input")

AARTIKUMARI-fewx
Автор

1:46 instead of creating a variable you can also write like this .
i = 0
while (i<45):
i += 1
print(i)

adithyancb
Автор

#TABLES
i=0
j=int(input("enter a no. whose table is requird="))
while i<11*j:
print(i)
i=i+j

nishantkumar
Автор

SuBha se intajar kr rha tha bhai ...vdo Specific time me dalte jao plz...College start hora hai kal se

thirstycoder
visit shbcf.ru