x = int(input("Enter any number \n"))
print("The factors of",x,"are:")
for i in range(1, x + 1):
if x % i == 0:
if i % 2 == 0:
Hope this will help!
To learn more, go for Python Master course today.
Hello @Khanhh ,
Use panda to find the value of ...READ MORE
Write a Python program that takes as ...READ MORE
n = list(range(10))
b = list(filter(lambda i:i%2!=0,n))
print(b) READ MORE
Hi, good question. If you are considering ...READ MORE
You can also use the random library's ...READ MORE
colors = ['red', 'green', ...READ MORE
Enumerate() method adds a counter to an ...READ MORE
You can simply the built-in function in ...READ MORE
++ is not an operator. It is ...READ MORE
If you're already normalizing the inputs to ...READ MORE
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.