From Paul Warner to Everyone: (2:21 PM) def bogosort(l): while not is_in_order(l): random.shuffle(x) From Pranet Sharma to Everyone: (2:21 PM) def bozo(x): while is_in_order == False: random.suffle(x)' *accidental apostrophe, and suffle should be shuffle From Dhruv Ranganath to Everyone: (2:21 PM) you need to return x at the end right From Carl Pittenger to Everyone: (2:21 PM) def bozo(x): while not is_in_order(x): random.shuffle(x) return x From Pranet Sharma to Everyone: (2:22 PM) yep From Carl Pittenger to Everyone: (2:36 PM) def gcd(a, b): while b: a, b = b, a % b return a From Sophia Benjamin to Everyone: (2:36 PM) def euclid(m,n): if m<n: m,n = n,m last = n second_last = m while last: second_last, last = last, second_last%last return second_last Carl’s is probably nicer but oh well From Luke Pollard to Everyone: (2:39 PM) def gcd(a,b): if b % a == 0: return a else: return(gcd(b % a, a))