Computer Science, asked by jassu5169, 1 year ago

plz ans.fast its fornr question for my assignment write a python program which asks the user to enter a positive num that is greater than 30 called num2 abd print all numbers 1 and num 2 that arr divislbe by 2 and 3​

Answers

Answered by QwertyPs
1

Hêy Fríèñd...

Here is the Program...

.

a = 0

num2 = int(input("Enter a positive number greater than 30 :"))

while a < num2 :

if a%2==0 and a%3==0:

print (a)

a += 1

.

.

.

.

I Hope This Will Help You ◉‿◉


jassu5169: plz ans.my top first question
Similar questions