Skip to content
  • About
Search
Close

PyTwok

Category: Python

Functions in Python

December 20, 2020 Rohan JadhavLeave a comment

Functions are group of statement created to perform specific task. There are several built in functions in Python such as print() to display output, sqrt() for calculating square root.

Read More »

Finding biggest element from a list

December 6, 2020 Rohan JadhavLeave a comment

Python provides max() function for finding biggest element from a list.

max() function returns a biggest element from a list.

There is also other way of finding biggest element from a list instead of using max() function. We can apply some logic to find biggest element from a list.

Read More »

Printing element of list using while and for loop

June 1, 2020 Rohan JadhavLeave a comment

In this blog, we will use while and for loop to display every elements of a list. For while loop, we need to make use of len() function. Read More »

Appending new element into a list

June 1, 2020 Rohan JadhavLeave a comment

Elements in a list are changeable or mutable that means elements can be deleted, adding new element at the end of a list or updating current value of element with new one. Read More »

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 »

Posts navigation

Older 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