Python tutorial in Hindi 22 : Print series , factorial , A.P series using while loop

preview_player
Показать описание
Python tutorial for beginners in Hindi
Python tutorial in Hindi 22 : Print series , factorial , A.P series using while loop .
Рекомендации по теме
Комментарии
Автор

Nice tutorial ...
Sacreen shot 😀
Sorry @harshit ..Please don't mind

SurajKumar-yvmr
Автор

Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:04:45) [MSC v.1900 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>>
RESTART: Programs/25-feb-18-6.py
Enter Number to calculate Factorial : 5
Factorial of 5 is 5
result

hirenjadav
Автор

def factorial(x):
result = 1
while(x>=1):
result = result * x
x = x-1
return result

x = int(input(" Enter Number to calculate Factorial : "))
y = (factorial(x))
print((" Factorial of ") + str(x) + (" is ") + str(y) )



but i m geeting same awnser 5 to 5

hirenjadav
Автор

Bhai course kitne din main khatam hogaaa

viveksalunke
Автор

hi, pls make video how to use both python 2 and 3 in windows

sauravshekher
Автор

Hello sir,
In this Video why you define the value of "L" viz (l = a+n*d-d) out of the function.
Can I define "L" inside function

NitishKumar-xrtx
Автор

end ka programme ap vala run hone ke baad bs none vlaue de raha h... sari value or programme as it is h value input hone ke baad none bata deta h

anshurang
Автор

When i run this factorial program in my phone then it gives an error in the input line as EOF when reading a file<module>. So can i solve it?

AkashVerma-mgys
Автор

bahi ji vedio jldi upload kiya kijiye ...plzz

ishatkumar
Автор

bhai me program bana rha tha jisme user string input krta hai or hum use batate hai ki "a" usme konse konse places par aarha h lekin mere output me bas 1st or 2nd wale "a" ka address show hora h bhai mera code ye hai mene while loop lagaya hai mera ans sahi nhi aarha pls btao kese hoga isme error bhi nhi show ho rha h


x=str(input("enter the string"))
y=x[-1] #we took -1 here because y me last wale word ka address store ho jayega
c=(x.index(y)) #or c me last wale address ki value store hogi so that loop laga sake i=0 to c tak
i=-1
while(i<c):
z=(x.find("a", i+1))
print(z)
i=i+1

ankushsingh-hksj
Автор

you dont ans me...whats happen in my programme.. value kyu nhi aa rhi h .. python 3.6 h

anshurang
Автор

Syntex error coming when i run first programme

udoyrahman
Автор

aap jara thik hain bolna kam kijiye bahot irritate hota hain

techworld
visit shbcf.ru