while to Compute Factorial

  Рет қаралды 38,976

IIT Madras - B.S. Degree Programme

IIT Madras - B.S. Degree Programme

Күн бұрын

while to Compute Factorial
"Week: 3
Topic: While to Compute Factorial" IIT Madras welcomes you to the world’s first BSc Degree program in Programming and Data Science. This program was designed for students and working professionals from various educational backgrounds and different age groups to give them an opportunity to study from IIT Madras without having to write the JEE. Through our online programs, we help our learners to get access to a world-class curriculum in Data Science and Programming.
To know more about our Programs, please visit :
BSc Degree in Programming and Data Science - onlinedegree.i...
Diploma in Programming / Data Science - diploma.iitm.a...

Пікірлер: 8
@helaljabel6629
@helaljabel6629 Жыл бұрын
Really appreciated they way you taught while loop bit by bit :)
@muralikrishna5729
@muralikrishna5729 Жыл бұрын
An alternate approach: a = int(input('Enter a number: ')) b = a print('The factorial is: ') while(a!=1): b = b * (a-1) a = a-1 print(b) --------------OR--------------------- a = int(input('Enter a number: ')) b = a if(a
@tejvanshrohra7794
@tejvanshrohra7794 6 ай бұрын
# My way of finding factorials import math print("Enter the number") n=int(input()) print(math.factorial(n))
@SaheelDeshpandeIITM
@SaheelDeshpandeIITM 3 ай бұрын
lol
@avenumadhav3568
@avenumadhav3568 3 жыл бұрын
factorial example: 1:37 3:03 3:40 3:54 4:20 4:38 6:10 6:25 11:23 12:01
@SuryaPrakashbabul
@SuryaPrakashbabul Жыл бұрын
How did you assigned number value to n
@MUTHU_KRISHNAN_K
@MUTHU_KRISHNAN_K 3 ай бұрын
Sir has used " int " in front of input () function
@054_nirajkumar3
@054_nirajkumar3 3 жыл бұрын
थैंक्यू
Tutorial on while loop
28:11
IIT Madras - B.S. Degree Programme
Рет қаралды 49 М.
More on Lists
21:40
IIT Madras - B.S. Degree Programme
Рет қаралды 25 М.
Как мы играем в игры 😂
00:20
МЯТНАЯ ФАНТА
Рет қаралды 3,1 МЛН
Inside Out 2: ENVY & DISGUST STOLE JOY's DRINKS!!
00:32
AnythingAlexia
Рет қаралды 9 МЛН
Recursion - An Illustration
15:24
IIT Madras - B.S. Degree Programme
Рет қаралды 26 М.
How I Would Learn Python FAST in 2024 (if I could start over)
12:19
Thu Vu data analytics
Рет қаралды 351 М.
Solving Wordle using information theory
30:38
3Blue1Brown
Рет қаралды 10 МЛН
The Boundary of Computation
12:59
Mutual Information
Рет қаралды 1 МЛН
how Google writes gorgeous C++
7:40
Low Level
Рет қаралды 888 М.
The 3 Laws of Writing Readable Code
5:28
Kantan Coding
Рет қаралды 581 М.
Introduction to Functions
15:32
IIT Madras - B.S. Degree Programme
Рет қаралды 38 М.
Как мы играем в игры 😂
00:20
МЯТНАЯ ФАНТА
Рет қаралды 3,1 МЛН