questions/python/page/7
>>> 'hello world'[::-1] 'dlrow olleh' This is extended slice syntax. It ...READ MORE
There are many ways to deal with ...READ MORE
By using the .title() method of string ...READ MORE
>>>> x = set([4, 5, 6]) Sets are ...READ MORE
Iteration is a process in which one ...READ MORE
items = [] items.append("apple") items.append("orange") items.append("banana") len(items) #use the ...READ MORE
list(set(t + t2)) READ MORE
raw_input was used in Python 2 version ...READ MORE
You can use in operator to access ...READ MORE
The len() function can be used with several different ...READ MORE
It is up to you to decide ...READ MORE
The .title() method of a string (either ASCII or ...READ MORE
The division operator is /, not \ READ MORE
value = [int(num) for num in input().split()] Output 1 ...READ MORE
To reverse a string in Python we ...READ MORE
You could explicitly set where you want ...READ MORE
Now, in Python >= 3.3, I get something ...READ MORE
I am a beginner in Python, created ...READ MORE
IndexError occurs when the item you want ...READ MORE
Python's list methods append and extend add ...READ MORE
The string.replace() is deprecated on python 3.x. ...READ MORE
To remove duplicates from List use, set ...READ MORE
In Python, are the following two tests ...READ MORE
Today, I came across the dict method get which, given a ...READ MORE
The PEP343 documentation contains details regarding the ...READ MORE
It's useful when you have two or ...READ MORE
In order to convert an object to string ...READ MORE
To answer your question let me explain ...READ MORE
What is the raw_input function? Is it ...READ MORE
In Python \n is used for new ...READ MORE
The do while loop helps in executing ...READ MORE
Yes, it is possible to add new ...READ MORE
Here in this example the key is ...READ MORE
Hey, @Himanshu. It's still most likely gzipped data. ...READ MORE
A list in Python can be reversed ...READ MORE
Since Python is a structured programming language, ...READ MORE
Yes, there is a significant distinction between ...READ MORE
I am assuming that you have a ...READ MORE
The statement assert exists in almost every programming ...READ MORE
To convert list to string in Python ...READ MORE
For Counting the occurrences there are many ...READ MORE
In Python, you can use ''' some ...READ MORE
Python is written in C, not completely ...READ MORE
while and for are both flow control ...READ MORE
You may do like this but it ...READ MORE
This is the most active category where ...READ MORE
Hi@akhtar, There is no simple way to import ...READ MORE
Hi,@Sashi, Generally, all the scripting languages are considered ...READ MORE
Hey guys. i need help! I have ...READ MORE
Hello Kartik, An updated version of the answer ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.