Pair numbers between 1 and 100
Write a program that prints paired numbers between 1 and 100
Write a program that prints paired numbers between 1 and 100
let msg = 'error' alert(msg)This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error' alert(msg)This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error' alert(msg)This answer is only visible to premium members
This answer is only visible to premium members
print(list(filter((lambda x: x % 2 == 0), range(1, 100))))
class Math: def __init__(self,number): self.number=number def Way(self): for i in range(1,number): if i%2==0: print(i) number=100 obj=Math(number) print(obj.Way())
n = int(input("number: ")) # Get a number # Find the pair numbers between 1 to the received number for i in range(1, n): if i % 2 == 0: print(i)
for i in range(100): a = (1+i) % 2 if a == 1: pass elif a == 0: print(i+1)
l = list(range(1, 101)) for i in l: if i % 2 == 0: print(i)
for x in range(1,51): print(x*2)
print([i for i in range(1,101) if i % 2==0 ])
Submitting answers is currently unavailable.
Write a program that receives a rectangular length and width from the input and prints its area in the output
Write a program that receives 2 numeric value from the input and stores in variables A and B. Then move the values of these two variables (the value of variable A is to be stored within B and the value of variable B is saved within a)
Write a program that has a graphical environment and can perform the sum, subtraction, multiplication and division operations on the infinite number. (Exactly like a real calculator)
Write a program that gets the user's age from the input and calculates and prints the user's birthday
Write a program that receives 2 numbers from the input and prints the larger number
Using HTML and CSS, insert an image with the following features on the page.
You must be logged in to access this section.
Login/Sign up If you don’t understand the exercise or can’t solve it for any reason, that’s completely
normal—don’t worry 😊
Try checking out easier exercises and reviewing different answers
submitted by others. Gradually, you can move on to more challenging exercises. Also, your answer
might be correct even if it’s different from others.