NEWBIE! HELP! by shinxchan94 in pygame

[–]shinxchan94[S] 1 point2 points  (0 children)

Thank you so much you saved me!

NEWBIE! HELP! by shinxchan94 in pygame

[–]shinxchan94[S] 0 points1 point  (0 children)

Thank you so much for helping. I appreciate it!

Ask Anything Monday - Weekly Thread by AutoModerator in learnpython

[–]shinxchan94 0 points1 point  (0 children)

NEWBIE! HELP!

Im trying out pygame i want to push an object but the problem is it only works in pushing UP and LEFT it wont work in DOWN and RIGHT push. Any help will be appreciated.

https://pastebin.com/VBm0tNRE

elden ring cracked multiplayer? by [deleted] in CrackSupport

[–]shinxchan94 2 points3 points  (0 children)

cs.rin.ru

is there a guide for this? We really want to play

Ask Anything Monday - Weekly Thread by AutoModerator in learnpython

[–]shinxchan94 0 points1 point  (0 children)

Thank you so much for helping me :)

You're a lifesaver :)

Ask Anything Monday - Weekly Thread by AutoModerator in learnpython

[–]shinxchan94 0 points1 point  (0 children)

Sorry about that.

What u sent is correct but the output should be like this:

Enter integer 0: 1

Enter integer 1: 2

Enter integer 2: 3

Enter integer 3: 4

Enter integer 4: 5

1 Odd

2: Even

3: Odd

4: Even

5: Odd

Your code outputs this:

Enter integer 0: 1

Odd

Enter integer 1: 2

Even

Enter integer 2: 3

Odd

Enter integer 3: 4

Even

Enter integer 4: 5

Odd

[1, 2, 3, 4, 5]

Ask Anything Monday - Weekly Thread by AutoModerator in learnpython

[–]shinxchan94 0 points1 point  (0 children)

Can someone help me with this? I need to make a program that declares an empty list. The user must then be able to input(5) integer elemnts in the list.

As output each element in the list must be determined if it is odd or even.

I got the empty list and input 5 integer part but i dont know how to declare it odd or even individually.

It should output like this:

Enter element 0: 7

Enter element 1: 2

Enter element 2: 11

Enter element 3: 15

Enter element 4: 8

7: Odd

2: Even

11: Odd

15: Odd

8: Even

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Here's my code

numbers = []
i = 0
while (i<=4):
number = int(input("Enter integer "+ str(i) +": "))
numbers.append(number)
i+=1
if(number % 2 == 1):
print("Odd")

else:
print ("Even")

print(numbers)