Skip to content
  • About
Search
Close

PyTwok

Author: Rohan Jadhav

Displaying last element from a list

June 1, 2020 Rohan JadhavLeave a comment

List is a collection of items which are arranged in ordered manner. We can access each element of a list using index number. Each element in a list has an index number. This index number starts with 0. First element in a list will have index number 0, second element will have index number 1 and so on.Read More »

Creating simple list

May 31, 2020 Rohan JadhavLeave a comment

In this blog, we will create a simple list. Displaying complete list and first element of a list.Read More »

String Repetition

May 31, 2020 Rohan JadhavLeave a comment

We can use * operator to repeat string n number of times. Below is the syntax for repeating string. Read More »

List in Python

May 31, 2020 Rohan JadhavLeave a comment

List is use to store group of items or elements. List is similar to an array but there is a difference between them. Array is use to store elements of same data type whereas list is use to store elements of different data types.Read More »

Working with case of string

May 30, 2020 Rohan JadhavLeave a comment
There are 4 methods in Python that works with case of a string.

Read More »

Display last character of a string

May 30, 2020May 30, 2020 Rohan JadhavLeave a comment
In this blog, we will create a python program to display last character in a string.
Each character in a string can be accessed by its index number. Below is the string with index position of each character.

Read More »

Finding length of a string

May 30, 2020 Rohan JadhavLeave a comment
String is a group of characters. Python has built in function which calculates number of characters in a string. We can use len() function to find the length of a string. Space in a string is also considered as a character.

Read More »

Display first character of a string

May 29, 2020May 29, 2020 Rohan JadhavLeave a comment

String is a collection of characters. Python has many inbuilt function to work with string. Each character in a string has index number. Index number always start with 0. For example string ‘Python’ has 6 characters and below is the index position of each character in string.Read More »

Simple Calculator using Python

May 29, 2020May 29, 2020 Rohan JadhavLeave a comment

In this blog, we will create a simple calculator using python. Read More »

Posts navigation

Older Posts
Newer Posts

Categories

Category Cloud

Conditional Programming DNS Kali Linux Project Python

Tags

BasicPython Commands Conditional Programming DNS DNSdumpster kalilinux List nmap PingSweep Projects Python String TCPSCAN
Blog at WordPress.com.
Back to top
PyTwok
Blog at WordPress.com.
Cancel