0

Help plz

You are making a social network called X. Connections between the users are stored as a graph. The given code declares an X class with its add_friend() method and creates some connections for 5 users. You need to take a number as input and output the number of connections of the corresponding user.

17th Oct 2022, 7:49 PM
Narek Sargsyan ʟͥᎥᴏͣɴͫ
Narek Sargsyan ʟͥᎥᴏͣɴͫ - avatar
1 Answer
0
What do you need help with? Post your attempts so we cab help you out!
17th Oct 2022, 7:58 PM
Apollo-Roboto
Apollo-Roboto - avatar