---
title: "Ajay Vikhram S M (@smavisswag) | Hashnode"
description: "Open Source and AI Enthusiast. Read the latest articles by Ajay Vikhram S M on Hashnode."
url: "https://hashnode.com/@smavisswag"
---

@smavisswag

# Ajay Vikhram S M

@smavisswag · Trichy, India · Joined April 2023

Open Source and AI Enthusiast

### [A Quick guide to Tkinter](https://smavisswag.hashnode.dev/a-quick-guide-to-tkinter?utm_source=hashnode&utm_medium=feed)

Intro tkinter is one of the more popular Python GUI libraries. 👉 When you start a tkinter project, you get some boilerplate, or starter code. import tkinter as tk window = tk.Tk() window.title("Hello World") # Sets the name of the window in the bo...

5 min read · [smavisswag.hashnode.dev](https://smavisswag.hashnode.dev/a-quick-guide-to-tkinter?utm_source=hashnode&utm_medium=feed)

[Jul 27, 2023](https://hashnode.com/posts/a-quick-guide-to-tkinter/64c281a96bddda2fb07a4d0b)

### [OOPs 🥲🥲🥲 in Python](https://smavisswag.hashnode.dev/oops-in-python?utm_source=hashnode&utm_medium=feed)

OOP Object Oriented Programming (OOP) is a programming paradigm (a way of thinking about how to solve a problem) that is based on classes and objects, which store all of their data and behaviors inside them. You can think of a class like a cookie cu...

5 min read · [smavisswag.hashnode.dev](https://smavisswag.hashnode.dev/oops-in-python?utm_source=hashnode&utm_medium=feed)

[Jul 6, 2023](https://hashnode.com/posts/oops-in-python/64a6f25984ecf77f792481b0)

### [Values Only and Keys Only function in python](https://smavisswag.hashnode.dev/values-only-and-keys-only-function-in-python?utm_source=hashnode&utm_medium=feed)

Values\_Only Function: The function which accepts a dictionary of key-value pairs and returns a new flat list of only the values. Uses the .items() function with a for loop on the dictionary to track both the key and value of the iteration and returns...

2 min read · [smavisswag.hashnode.dev](https://smavisswag.hashnode.dev/values-only-and-keys-only-function-in-python?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/values-only-and-keys-only-function-in-python/64a228438db091c401036173) [Jul 3, 2023](https://hashnode.com/posts/values-only-and-keys-only-function-in-python/64a228438db091c401036173)

### [Upper Case Function in Python](https://smavisswag.hashnode.dev/upper-case-function-in-python?utm_source=hashnode&utm_medium=feed)

Checks if a string is upper case. Convert the given string to upper case, using str.upper() method and compare it to the original. def is\_upper\_case(string): return string == string.upper() #input and output: is\_upper\_case('ABC') # True is\_upper...

1 min read · [smavisswag.hashnode.dev](https://smavisswag.hashnode.dev/upper-case-function-in-python?utm_source=hashnode&utm_medium=feed)

[Jul 2, 2023](https://hashnode.com/posts/upper-case-function-in-python/64a0d19b8db091c40103446f)

### [GCD Function in Python](https://smavisswag.hashnode.dev/gcd-function-in-python?utm_source=hashnode&utm_medium=feed)

Calculates the greatest common divisor between two or more numbers/lists. The helperGcdfunction uses recursion. The base case is when y equals 0. In this case, return x. Otherwise, return the GCD of y and the remainder of the division x/y. Uses the r...

1 min read · [smavisswag.hashnode.dev](https://smavisswag.hashnode.dev/gcd-function-in-python?utm_source=hashnode&utm_medium=feed)

[Jul 1, 2023](https://hashnode.com/posts/gcd-function-in-python/649f83dbb5c0d4bb10956788)
