Discover
Questions library
Collections library
Find online teacher
login
Discover
questions library
Find online teacher
login
Popular searches:
if-else
class-diagram
flowchart
Polymorphism
Home
Questions
Questions
Study lists
hamza shaheen Questions
5601 Questions
Write a Python program to find the index of a given string at which a given substring starts. If the substring is not found in the given string return Not found
Programming
Python programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
180
Write a Python program to wrap a given string into a paragraph of given width.
Programming
Python programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
102
Write a Python program to print four values decimal, octal, hexadecimal (capitalized), binary in a single line of a given integer
Programming
Python programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
185
Write a Python program to swap cases of a given string.
Programming
Python programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
111
Write a Python program that accepts a comma separated sequence of words as input and prints the unique words in sorted form (alphanumerically).
Programming
Python programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
306
Write a Python function to create the HTML string with tags around the word(s).
Programming
Python programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
112
Write a Python function to insert a string in the middle of a string
Programming
Python programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
162
Write a Python function to get a string made of 4 copies of the last two characters of a specified string (length must be at least 2).
Programming
Python programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
95
Write a Python function to get a string made of its first three characters of a specified string. If the length of the string is less than 3 then return the original string.
Programming
Python programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
126
Write a Python program to get the last part of a string before a specified character.
Programming
Python programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
111
Write a Python function to reverses a string if its length is a multiple of 4
Programming
Python programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
89
Write a Python function to convert a given string to all uppercase if it contains at least 2 uppercase characters in the first 4 characters.
Programming
Python programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
140
Write a Python program to sort a string lexicographically.
Programming
Python programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
143
Total:
5601
Previous
420
421
422
423
424
Next
Go