Python Program to Find Factors of a Number

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

In this video I tried to explain the Python Program to Find Factors of a Number.

Python Scripts
======================

Python Functions Solved
==========================

Python Programs Solved
============================

Factors of a number is said to be x if x can divide the number completely i.e, reminder is zero.

Below is the Python Program to Find Factors of a Number
==============================
number = int(input("Enter a number : "))
print("Factors of number are ...")
for x in range(1, number+1):
if number % x == 0:
print(x, end=" ")

Hope you liked this video. Thank you for watching it.
Рекомендации по теме
visit shbcf.ru