FAQ   Python FAQ


Topic Replies Activity
About the Python FAQ category 2 January 25, 2019
Why learn Python? 22 May 13, 2019
Why is it invalid to add a period after a variable name to make it a float? 27 November 10, 2019
How do I assign a value to a variable? 15 May 8, 2019
What is a block of code? 4 August 8, 2018
Why didn’t my product display on the screen? 10 September 21, 2018
What else can I make with what I’ve learned so far? 1 June 19, 2018
Can a dictionary repeat identical keys or values? 1 October 24, 2019
How should I read an error message to fix the code that caused it? 1 March 8, 2018
What other string methods are there? 1 October 30, 2018
Can I use more than one type conversion at once? 2 May 3, 2018
Can I display the month name instead of a number? 13 June 21, 2019
What does importing a library do? 5 June 20, 2019
What does it mean that Python is an “object-oriented” language? 10 October 10, 2019
What are the differences between instance variables and class variables, or why do I need to use `self.pi`? 20 November 7, 2019
What happens if a list contains duplicates when creating a dictionary using zip and a list comprehension? 6 June 19, 2019
Why do my hobbies have a ‘u’ before them when I print them? 21 July 7, 2019
If most numbers can be represented as a float value, why would we need to use integers? 1 July 19, 2018
Why would we use Python 2 or 3? 9 October 20, 2019
What are some cool things that Python has been used for? 1 March 8, 2018
What are some common uses for multi-line comments? 2 March 24, 2018
Why is it not accepting my code? 1 March 8, 2018
Do I need to make students a list of their string names, or the variable names? 1 June 21, 2018
Is this all there is to know about syntax in Python? 1 March 8, 2018
Can I do this on my computer? 1 March 8, 2018
How can I avoid making an infinite loop? 1 June 22, 2018
How does float( ) work? 14 February 15, 2019
Can we perform calculations between Decimal objects and other values? 1 October 30, 2018
Why should I write comments in my code? 5 September 3, 2019
Can the __init__() method return a value? 1 September 5, 2018