Skip to content
Latest:
  • Wordle Cheat
  • My First Program Recreated – A VB6 Prank Program
  • Download Select Random Objects for Adobe Illustrator
  • Glitch Prime Numbers and Cyclops Numbers
  • How To Download and Install VirtualBox 6.0 on Ubuntu 18.04 LTS
KSoftLabs

KSoftLabs

Official Site of KSoftlabs

  • Videos
    • Leadership and Positive Attitude Development Programme 2014
    • ’13 Devans Devians Awurudu 2k17
  • Tips and Tricks
    • Mobile Internet Settings
    • Send Credit From Dialog Mobile
    • Dialog Prepaid Data Plans
  • Downloads
    • Color Match
    • Block Mail Track
    • Select Random Objects in Ai
    • Sinhala Fonts
  • Python
  • Visual Studio C#
  • WordPress
  • Articles
  • Contact

python

Python Tutorial by KSoftLabs.com
Python 

Lists in Python

June 18, 2016July 15, 2017 Kavinda 1 Comment python

You can find the python codes used in tutorial https://rajith681.wordpress.com/2016/06/18/python-3-lists below. List Creating List1=[] List2=[1,2,3,4,5] List3=[‘a’,’b’,’c’] List4=[1,’abc’] Accessing List Items List1=[]

Read more
Python Tutorial by KSoftLabs.com
Python 

File Handling

June 8, 2016July 15, 2017 Kavinda 0 Comments python

Opening a file thefile=open(“sample.txt”,”r”) Here we are creating a file object name “thefile” and assigning the data in the “sample.txt”

Read more
Python Tutorial by KSoftLabs.com
Python 

Insertion Sort Using Python

May 19, 2016July 15, 2017 Kavinda 0 Comments python

Read about Insertion Sort at http://interactivepython.org/runestone/static/pythonds/SortSearch/TheInsertionSort.html def insertionSort(alist): #defining the function for index in range(1,len(alist)): #run through the list form element

Read more
Python Tutorial by KSoftLabs.com
Python 

Calculating Factorial Using Recursion

May 19, 2016July 15, 2017 Kavinda 0 Comments python

  def fact(num): if num==1: return 1 else: return num*fact(num-1) print(fact(int(input(“Please enter the number : “))))    

Read more
Python Tutorial by KSoftLabs.com
Python 

Implementing a Queue in Python Using Lists

May 19, 2016July 15, 2017 Kavinda 0 Comments python

  class Queue: def __init__(self): self.items = [] #create a new lsit with no items to use as the queue

Read more
Python Tutorial by KSoftLabs.com
Python 

Converting Decimal Numbers to Binary Numbers Using Stacks

May 18, 2016July 15, 2017 Kavinda 2 Comments python

This code will take an integer decimal number and convert it to a binary number. Here stack is used to

Read more
Python Tutorial by KSoftLabs.com
Python 

Using Stacks to Reverse Four Letters

May 18, 2016July 17, 2017 Kavinda 0 Comments python

This code can be used to add four letters to a stack and get them in reverse order class Stack:

Read more
Python Tutorial by KSoftLabs.com
Python 

Implementing Stacks in Python

May 18, 2016July 15, 2017 Kavinda 0 Comments python

What is a Stack? A stack is a collection, meaning that it is a data structure that contains multiple elements.

Read more

Recent Posts

wordle cheat
Articles 

Wordle Cheat

February 12, 2022February 12, 2022 Kavinda 0

A simple wordle cheat tool to help you to keep your wordle streak alive. Visit https://ksoftlabs.link/wordle/ or click the button

My First Program
Downloads How To 

My First Program Recreated – A VB6 Prank Program

February 22, 2020February 22, 2020 Kavinda 0
Select Random Objects
Downloads 

Download Select Random Objects for Adobe Illustrator

September 1, 2019September 1, 2019 Kavinda 0
Glitch Prime
Articles 

Glitch Prime Numbers and Cyclops Numbers

July 31, 2019July 31, 2019 Kavinda 0
Custom Stickers, Die Cut Stickers, Bumper Stickers - Sticker Mule

randoms.lk

ksoftlabs.lk

Copyright © 2023 KSoftLabs. All rights reserved.
Theme: ColorMag by ThemeGrill. Powered by WordPress.