Skip to content

IslandTropicaMan

Software, Pc Game and Programming Languages

Python Example — Count the number of even numbers from 1 to 100

Posted on October 10, 2022October 10, 2022 By IslandT

An even number is a number that can be divided by two, for example, 2, 4, 6, 8, and 10. In this example let us create a simple Python program that can count the number of the even numbers from 1 to 100! I am going to use the modulus operator to find the numbers…

Read More “Python Example — Count the number of even numbers from 1 to 100” »

Python, Python Tutorial

Python Example — How to use the with open file method in Python

Posted on October 9, 2022October 9, 2022 By IslandT

In this Python example, I am going to create a Python program that will get the user poet inputs and then save them inside a file, and after that displayed those poets back on the screen. I am going to use the open-file method together with the (with) keyword which will close the file after…

Read More “Python Example — How to use the with open file method in Python” »

Python, Python Tutorial

How to create a for loop in Power Shell

Posted on October 9, 2022October 9, 2022 By IslandT

In Power Shell script, the for loop is part of the flow control group which consists of the while loop, for each loop, the do…while loop and etc. In order to create a for loop in Power Shell followed this procedure:- Basically, if you are a programmer then the statement above will look familiar, the…

Read More “How to create a for loop in Power Shell” »

Power Shell

Python example : Get the user inputs and multiply two numbers

Posted on October 6, 2022October 6, 2022 By IslandT

In this article let us create a Python program that will ask the user to input two numbers and then multiplies them and print the outcome on the screen! let us write the program to get the user inputs from the command prompt first as follow: The program above will ask the user to enter…

Read More “Python example : Get the user inputs and multiply two numbers” »

Python, Python Tutorial

Python Datetime Module

Posted on October 5, 2022October 5, 2022 By IslandT

Python datetime module allows you to create an datetime object or get the date of a particular day. Let me create a few examples to demonstrate to you how to use the methods of this DateTime module. Find the present date and day, month, etc. As you can see that the strftime method above will…

Read More “Python Datetime Module” »

Python, Python Tutorial

Python RegEx Module

Posted on October 4, 2022October 4, 2022 By IslandT

In this chapter let us create a few examples with Python built-in RegEx module’s methods and see what this particular module can do! As always, you need to import the module into your python file before using it. Find whether a phrase is contained within a string or not and uses case insensitive search. Below…

Read More “Python RegEx Module” »

Python, Python Tutorial

Python math Module

Posted on October 3, 2022 By IslandT

math is a Python built-in module which means it comes together with the python package and you do not need to install it separately. In the following examples let us create various little programs to use the math module to solve some problems. In order to use the math module, you need to import it…

Read More “Python math Module” »

Python, Python Tutorial

Python Tutorial — Chapter 15

Posted on October 2, 2022October 3, 2022 By IslandT

In this chapter let us create a function based on another function with the python lambda function! Let’s say you want to create a seed value that will be used to find the modulo with another value then you will create the function below with the help of the lambda anonymous function. Now you can…

Read More “Python Tutorial — Chapter 15” »

Python, Python Tutorial

Python Tutorial — Chapter 14

Posted on October 2, 2022October 3, 2022 By IslandT

In this tutorial let us create a python class and then create the child class of that main class. Create a Python class that will multiply two numbers. As you can see from above the Multiply class has been created with the keyword class and the method of multiplying two numbers which is called multiplying…

Read More “Python Tutorial — Chapter 14” »

Python, Python Tutorial

Python Tutorial — Chapter 13

Posted on October 1, 2022October 3, 2022 By IslandT

In this chapter, let us create Python functions and used them in various areas! When you need to put a block of codes and only called them when you need them then you will put them under the python function. Python function accepts parameters that you can pass through the function called. A python function…

Read More “Python Tutorial — Chapter 13” »

Python, Python Tutorial

Posts pagination

Previous 1 … 11 12 13 … 16 Next

IslandTropicaMan

↑ Grab this Headline Animator

Categories

  • C program
  • Gaming
  • Java
  • Java Collection
  • Java Game
  • Java Generic
  • Javascript
  • Kotlin
  • Power Shell
  • Python
  • Python Tutorial
  • Software
  • Swing
  • Type-Script

Get new posts by email

ArrayList button class combo box earning project enum for loop function interface Java javascript Javascript Iterable javascript iteration result object Javascript iterator Javascript promise kotlin Matplotlib message box Multitask power shell powershell powershell switch pycharm pygame pygame drawing pygame moving circle pygame project chess pygame rectangles pygame update method python python application python class python function python project python tutorial ShotCut.software Stockfish Swing tkinter tuple typescript typescript function visual studio code while loop wxPython

  • How to use case sensitive version of comparison in power shell
  • Create multiple assignments in PowerShell
  • How to compile and run c program in visual studio code
  • How to print numbers from a range in Kotlin
  • How to output words on a Power Shell screen?

Recent Comments

  1. Rainer on Python Example – Group telephone number using the re module
  2. Rainer Mansfeld on Python Example — Write a python program which will save the user inputs into a Pickle file
  3. Rainer Mansfeld on Python Example — Write a Python program to find the permutation of an event
  4. Rainer Mansfeld on Python Example — What is the total ASCII values of characters in the Hello World string
  5. Jules on Python Tutorial — Chapter 9

Copyright © 2025 IslandTropicaMan.

Powered by PressBook WordPress theme

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT