Skip to content

IslandTropicaMan

Software, Pc Game and Programming Languages

Python Example — Find the future sum of money with Python

Posted on November 2, 2022November 2, 2022 By IslandT

In this python example, I will create a simple python function to calculate the compound interest which will then be used to calculate the future sum of money (F) if the present sum of money (P) and the interest rate per interest period are given. Before I start to write the program, let us understand…

Read More “Python Example — Find the future sum of money with Python” »

Python, Python Tutorial

Switch statement with regular expression in PowerShell

Posted on November 2, 2022November 2, 2022 By IslandT

Below is the command to run the switch statement with regular expression in PowerShell. The above command found its match in the first case which is “abcdef” and thus “abc” will get printed out on the screen as follows:- A regular expression is often used to match the sophisticated pattern within a phrase or word.

Power Shell

Overrides function in TypeScript

Posted on November 2, 2022November 2, 2022 By IslandT

Below TypeScript example will show you how to override a function. In order to override a function you will need to provide a function with its parameter of type any and its return value also of type any. However, this does not mean that any type of parameter or the return value will be permitted…

Read More “Overrides function in TypeScript” »

Type-Script

Matplotlib Tutorial — Create a scatter chart

Posted on November 1, 2022November 1, 2022 By IslandT

In this Matplotlib example, I am going to create a scatter chart that shows the quantity and the type of shoes I have sold recently. The scatter chart below will show dots that represent the quantity of each type of shoe that I have sold recently. The program is as follows:- The ‘figsize’ parameter of…

Read More “Matplotlib Tutorial — Create a scatter chart” »

Python, Python Tutorial

Create generic type ArrayList in Java program

Posted on November 1, 2022November 1, 2022 By IslandT

In this example, let us create a generic type ArrayList to read in a few type string values and then iterate through those string elements and print them out on the screen. The above program will create the following outcomes: There is no need to cast the return object from the next method of the…

Read More “Create generic type ArrayList in Java program” »

Java, Java Generic

Create a callback function in TypeScript

Posted on November 1, 2022November 1, 2022 By IslandT

In this typescript example, I am going to create a callback function that will return a string depending on the text the user has entered into the second parameter of the calling function. First of all, let us create the callback function as follows:- As you can see above that the call-back function will receive…

Read More “Create a callback function in TypeScript” »

Type-Script

Matplotlib Tutorial — Create a bar chart

Posted on October 31, 2022October 31, 2022 By IslandT

In this Matplotlib example, I am going to create a bar chart to represent the quantity of the wear I have sold recently. Just like before, I am using the matplotlib.pyplot module to help me to plot the below chart. After calling the subplots method two objects have been returned and I am going to…

Read More “Matplotlib Tutorial — Create a bar chart” »

Python, Python Tutorial

The switch statement in PowerShell

Posted on October 31, 2022 By IslandT

Below switch statement will print out the third selection based on the entering number in PowerShell. The switch statement in PowerShell is about identical to the switch statement in other programming languages such as Java, C++, or Python.

Power Shell

Do you know that you do not need to specify any function’s parameter in TypeScript?

Posted on October 31, 2022October 31, 2022 By IslandT

Yes, it is right, you do not need to specify any parameter in the TypeScript function, all you need is to use the rest syntax together with the array variable type assigned to that argument as follows:- The rest syntax is the one with three dots in front of the array argument with the number…

Read More “Do you know that you do not need to specify any function’s parameter in TypeScript?” »

Type-Script

Print odd numbers from 1 to 10 with Power Shell

Posted on October 30, 2022October 30, 2022 By IslandT

In this tutorial, I will create a simple program with Power Shell to print the odd numbers ranging from 1 to 10 with the help of the ‘foreach’ loop. The command is as follows:- As you can see that the if condition statement will filter out all the even numbers and only allow the odd…

Read More “Print odd numbers from 1 to 10 with Power Shell” »

Power Shell

Posts pagination

Previous 1 … 5 6 7 … 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