write a python program which asks the user to enter a positive num that is greater that 30 called,num2" and tgen does the following.print all numvers between 1 and num2 that are divisble by 2 and 3
Answers
Answered by
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 ◉‿◉
Similar questions