DDev2indev2-python.hashnode.dev·Nov 4, 2021 · 2 min readList Functions in PythonTuple Functions Index tuple1 = ("Red", "Blue", "Red", "Green") print(tuple1.index("Blue")) Terminal: 1 Count tuple1 = ("Orange", "Green", "Orange", "Blue") print(tuple1.count("Orange")) Terminal: 2 List Functions Clear .clear() is used to empty the l...00
DDev2indev2-python.hashnode.dev·Oct 16, 2021 · 4 min readString Slicing in PythonLearn Negative Index and String Slicing, I tried my best to make this comfortable for everyone but there might be mistakes so let me know that i'll prolly correct that in a month:( Negative Index As you know String's First Character's Index is 0, Sec...01B
DDev2indev2-python.hashnode.dev·Oct 15, 2021 · 2 min readEscape Sequences in PythonHey There! You can revise some useful Escape Sequences. Comments are also included in this blog. Have a Great Day!!! Comments Comments are mainly used in code to markdown functionality. Comments are something that compilers ignore or Compilers do no...00
DDev2indev2-python.hashnode.dev·Sep 6, 2021 · 4 min readStrings in PythonHello Reader ;-; This Post might help you to improve your knowledge in strings and other string functions. ;-; Print Print function, you know i guess print("Hello World!") Terminal: Hello World! Multiple Parameters print("Hello", "World!") Terminal: ...01A