My Doubts


Written in: Obsidian-Markdown Format


Content:

Info

This is my Doubt Page

List :-

1.

Unable to find “isalpha() ” in 13 - String methods


2.

Difference between insert(),append() & extend( ):-

insert() is used to insert only one item in given index:-
colors.insert(1, "green")   #inserts item at index 1
append() is used to insert only one item at the end of the list:-
colors.append("green")   #inserts "green" at the end.
extend() is used to insert a list at the end:-
n = [1,2,3,4]
colors.extend(n)   #inserts n list at the end of colours list


3.

Match 2 condition in if statement:

  • we need to use 'and' to match 2 conditions in ' if ' statement.

Set:-

1.

Unable to find “Update()” in 32 - Set Methods (merged)

2.


Dictionary:

We have to give { } when updating dictionary:

Unable to find “update()” in 34 - Dictionary Methods (merged)


This is H1

This is H2

This is H3

This is H4

This is H5
This is H6

This is normal text