BullyWiiHacks
Welcome dear guest! Very Happy

To start posting and being part of the BWH community, you simply need to register an account or log into an existing one.

If you do not wish to register at all, that's fine but there will be more advertisements. :/

You can probably see and download most content provided for regular members even without an account.

Your contributions will be greatly appreciated though, give it a shot and register today! thumbsup

Join the forum, it's quick and easy

BullyWiiHacks
Welcome dear guest! Very Happy

To start posting and being part of the BWH community, you simply need to register an account or log into an existing one.

If you do not wish to register at all, that's fine but there will be more advertisements. :/

You can probably see and download most content provided for regular members even without an account.

Your contributions will be greatly appreciated though, give it a shot and register today! thumbsup
BullyWiiHacks
Would you like to react to this message? Create an account in a few clicks or log in to continue.
BullyWiiHacks

Gaming, Modding & Programming

Important reminders:

- Click *HERE* for advanced forum search or check out the text field below on the front page for Google before posting
- NO support via private message (use the forum)
- Write meaningful topic titles
Site Translation
Latest topics
» Wii RAM Hacking: Pointers and ASM
Python - Set Theoretic Compliment / Set Minus Empty7/23/2024, 1:54 pm by Mac11ngAround

» IBM AIX Assembler Programming Reference - Useful For PPC ASM
Python - Set Theoretic Compliment / Set Minus Empty7/21/2024, 5:00 pm by Mac11ngAround

» Note to Inactive New Members
Python - Set Theoretic Compliment / Set Minus Empty7/14/2024, 4:50 am by Mac11ngAround

» Lego Stars Wars: The Complete Saga [RLGE64]
Python - Set Theoretic Compliment / Set Minus Empty7/14/2024, 4:42 am by Mac11ngAround

» JMaster Duel Bot: A Yu-Gi-Oh! Master Duel Bot and Trainer for Steam
Python - Set Theoretic Compliment / Set Minus Empty7/13/2024, 11:18 am by Bully@WiiPlaza

» Gecko.NET
Python - Set Theoretic Compliment / Set Minus Empty7/13/2024, 11:11 am by Bully@WiiPlaza

» How to get a USB Gecko SE
Python - Set Theoretic Compliment / Set Minus Empty7/13/2024, 11:05 am by Mac11ngAround

» USB Gecko Hacking Tutorials [Ultimate List]
Python - Set Theoretic Compliment / Set Minus Empty7/13/2024, 10:54 am by Mac11ngAround

» Converting from PAL to NTSC-J (Pokemon Battle Revolution)
Python - Set Theoretic Compliment / Set Minus Empty7/6/2024, 9:37 am by SnB@BWH

» Making RAM Dumps With Dolphin (No USB Gecko!)
Python - Set Theoretic Compliment / Set Minus Empty7/6/2024, 9:20 am by SnB@BWH

Search
 
 

Display results as :
 


Rechercher Advanced Search

July 2024
MonTueWedThuFriSatSun
1234567
891011121314
15161718192021
22232425262728
293031    

Calendar Calendar

Country Statistics
Free counters!

You are not connected. Please login or register

Python - Set Theoretic Compliment / Set Minus

Go down  Message [Page 1 of 1]

SnB@BWH

SnB@BWH
Admin & Writer

Code:
x = [1, 2, 3, 4]
y = [5, 6, 3, 4]

minus = [num for num in x if num not in y]
print(minus)

https://en.wikipedia.org/wiki/Complement_(set_theory)


_________________
Python - Set Theoretic Compliment / Set Minus Simple10

Python - Set Theoretic Compliment / Set Minus LSTjSyDDiscord: SnB_BWH

Click HERE to earn free bitcoin, litecoin, dogecoin, and dash!

Win Free Bitcoins every hour!

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum