Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Why does modifying a list in a for loop not seem to work?
Post: RE: Why is modifying a list in a for loop not seem...

Thanks
umut3806 General Coding Help 2 2,292 Jul-22-2019, 08:25 PM
  Question Thread: Why does modifying a list in a for loop not seem to work?
Post: Why does modifying a list in a for loop not seem t...

numbers = [2,8,6,12,13,9,5] for number in numbers: if number % 2 == 0 : numbers.remove(number) print(numbers) I wrote that code and run it .But it should delete all the even numbers in the...
umut3806 General Coding Help 2 2,292 Jul-22-2019, 08:20 PM
    Thread: Having problems using 'or' in a 'if' statement?
Post: RE: A problem with "and" "ore" conjunctions...

Thanks !!! **heart** **heart** **heart**
umut3806 General Coding Help 2 2,088 Jul-21-2019, 11:33 PM
    Thread: Having problems using 'or' in a 'if' statement?
Post: Having problems using 'or' in a 'if' statement?

number1 = 5 number2 = 10 if number1 or number2 == 6: print("Successful !") else: print("Failed !")My problem is that the code isn't working as ı want.It writes "Successful" on the screen.But ...
umut3806 General Coding Help 2 2,088 Jul-21-2019, 10:27 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020