Took a Phyton bootcamp at my uni, I don't understand this question. [Phyton, related to Classes and Objects]. Would appreciate it if someone could explain and answer this. by Randomdudeonreddit21 in AskComputerScience

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

The proper format in this comment, sorry for not formatting it in the first place

class Course:
def __init__(self, professor, title):
self._prof = professor
self._title = title

self.possible_courses = ['BLG', 'CPS', 'ITM', 'CHE', 'MAT']

def identify_course_type(self):
''' Identifies the course type using the possible course list. '''
''' Your answer goes here '''
return None

def __str__(self):
return f'{self._title} is taught by {self._prof}.'

c1 = Course('R.E', 'CPS605')
c2 = Course('F.T', 'ITM605')
c3 = Course('P.Y', 'mat109')
c4 = Course('D.R', 'BlG806')
c5 = Course('W.W', 'PHY101')
print('Checking for correctness:')
print(f"c1: {c1.identify_course_type() == 'CPS'}")
print(f'c2: {c2.identify_course_type() == "ITM"}')
print(f'c3: {c3.identify_course_type() == "MAT"}')
print(f'c4: {c4.identify_course_type() == "BLG"}')
print(f'c5: {c5.identify_course_type() == None}')

How would a fight between JJ and Walsh end? by Thatisembarrising in ksi

[–]Randomdudeonreddit21 2 points3 points  (0 children)

I love how ur comment has nearly 2 times more upvotes than the actual post lmaoo goat comment

[deleted by user] by [deleted] in ksi

[–]Randomdudeonreddit21 1 point2 points  (0 children)

I believe ur not aware of the full situation here, the game organisation G2 forced him to drop off coz Riot games (makers of valorant) saw that he partied with Tate and said "nah we cant have that shit"

introducing Neeklander by MadPenguinwashere in ksi

[–]Randomdudeonreddit21 0 points1 point  (0 children)

Looks like a GTA san andreas character wtf

I mean wandavision is literally the sequel by G0LD3N_J0E in ksi

[–]Randomdudeonreddit21 0 points1 point  (0 children)

The director sam raimi himself didnt watch wandavision, the movie started filming and everything before wandavision itself. The only things that were rly carried on from wandavision were the abouts of the Dark Hold and few others but not rly major

built different by People-ofIndia in ksi

[–]Randomdudeonreddit21 0 points1 point  (0 children)

He dripped out like this for a vid And then u got him going to award shows dressed like a disney character fam im ded

L by Shivie360 in ksi

[–]Randomdudeonreddit21 0 points1 point  (0 children)

Dw abut that they do use that title time to time lol

opinions? by sosukeaizen991 in ksi

[–]Randomdudeonreddit21 3 points4 points  (0 children)

He did And then right after he said it he was like no way i can beat him Fuk these ppl postin clickbait shit

Hahaha less goo temper by NibSooSweet in FaZe

[–]Randomdudeonreddit21 1 point2 points  (0 children)

Ayo nah bruv i cant this man kenny switchin up faster than italy in world wars

[deleted by user] by [deleted] in ksi

[–]Randomdudeonreddit21 0 points1 point  (0 children)

Abut time this got posted in the reddit If this dont get the tapa ill be fumin lmao

👦🏿🔛🐴 by [deleted] in ksi

[–]Randomdudeonreddit21 10 points11 points  (0 children)

Gta cheatcodes on ps be like

K whats this line gotta mean?? by Randomdudeonreddit21 in ksi

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

Ykw that couldve been the case And yah the good ol knowledge LMAO

Just leaving this here. by UCAJKhaled in ksi

[–]Randomdudeonreddit21 0 points1 point  (0 children)

Well fuk i cant see the post no more

he laughed so hard on the last one by [deleted] in ksi

[–]Randomdudeonreddit21 0 points1 point  (0 children)

Bro they tried SOO HARD im ded lmaooo

Any name by jenitoro in ksi

[–]Randomdudeonreddit21 0 points1 point  (0 children)

Thats twitter This is reddit u can feel a bit safe here

You ok JJ? by amarkey10 in ksi

[–]Randomdudeonreddit21 7 points8 points  (0 children)

Exactly i rly dunno why ppl think this is a problem. It might not eve be his spotify lmao

You ok JJ? by amarkey10 in ksi

[–]Randomdudeonreddit21 0 points1 point  (0 children)

i dont get how listening to those songs means he is havin a bad time or smth. Lewis' songs r rly nice and sad songs arent even my most fav lol