You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exercise 1 of dictionaries: "Write a program that receives a dictionary and a key as input and returns the value of the key if it is in the dictionary, None otherwise. The dictionary should remain unchanged."
We should make it clear that the key to return is key, the input variable.
True and False are like 1 and 0 in a set, and there is some wierd behavior if we put 1 and True into a set, one of the examples in sets does this and should probably be taken out.
returns a copy of the string with any leading or trailing characters whitespaces removed
Should be
return a copy of the string with the leading and trailing whitespace characters removed. You can pass a string argument, and all the combinations of its values are removed
print(a)
print
andreturn
(probably in the intro). They get confused by the solution function syntax.math
was not imported forsolution_quadratic_equation
lists_are_equal
andlists_are_not_same_but_equal
remove every second element from list
does not have a clear description. Should we use 'return' or 'extract' instead of 'remove'?The text was updated successfully, but these errors were encountered: