Computer Science, asked by vishal9311, 7 months ago

Q: If :-
A=set('python')
B=set('programming')
Then what will be the output of print(A-B) ?
Note :- The Order of output may change.
1.{'m', 'r', 'i'}
2.{'m', 'r', 'g', 'a', 'i'}
3.{'h', 'y', 't'}
4.{'y', 'h', 't', 'a'}

Answers

Answered by sakinaghadiali4
8

Hii i am new here pls mark me the brainliest

Answered by pk154640
8

Answer:

options 3.{'h', 'y', 't'}

Explanation:

we have to subtract A-B therefore p,o and n is subtracted from python

Similar questions