FAQ   Python FAQ


Topic Replies Activity
Where am I supposed to write this elif to check if the coordinate has already been guessed? 4 February 18, 2019
Can an if statement in a list comprehension use an else? 22 March 29, 2020
Can we utilize both keyword and positional arguments in the format() method? 2 April 1, 2020
Does the first parameter to a class method have to be named self? 3 January 28, 2020
Can variables be reassigned to another data type? 10 December 31, 2019
Why would I print a variable instead of just printing the string? 2 July 5, 2019
Is there anything special about the Codecademy editor? 5 July 5, 2019
Do all parameters have to be used within a function? 11 January 1, 2020
Can we provide any input type to the format() method? 3 June 12, 2019
Does the dictionary pop() function remove the item from the dictionary? 3 January 4, 2020
Why are there two kinds of comments? 1 March 8, 2018
What math can Python do that a calculator can’t? 5 March 15, 2019
How is this different from a string? 14 August 18, 2018
What is an exception? 8 December 30, 2018
What are A and B in programming? 8 May 30, 2019
How are escape characters counted towards the length of a string? 4 July 12, 2019
Where in my code do I make this new slice of new_word? 25 December 5, 2019
What are the kind of loops available in Python? 2 December 18, 2019
If we run .split() without an argument, what happens to consecutive whitespaces? 1 October 30, 2018
What are the different types of loops good for? 7 December 12, 2019
Did you double check the placement of `return`? 67 December 9, 2019
If a method's parameters are modified is it still considered implementing an interface? 1 September 15, 2018
Should all custom exception classes inherit from Exception? 1 September 11, 2018
What do percentiles tell us? 1 September 11, 2018
Do parameters still hold some value when the function call completes? 12 December 4, 2019
What is a float? 12 May 22, 2018
What are the differences between using if and elif? 5 October 1, 2019
Can a class variable be any type? 1 September 3, 2018
How exactly does not work, especially if we write not not? 5 October 2, 2018
How can I use quotes inside of a string? 9 November 29, 2019