Posts

Colorful QR Code in python

Image
Hello Ji, tech enthusiasts! Excited to share a quick Python project with you all: generating vibrant QR codes with a splash of color. QR codes have become essential in our digital lives, simplifying access to websites, contact info, and more. Let's dive into the code: pyth import qrcode qr = qr = qrcode.QRCode( version= 1 , error_correction=qrcode.constants.ERROR_CORRECT_H, box_size= 10 , border= 4 ) qr.add_data( "https://www.linkedin.com/in/arunjakhmola/" ) qr.make(fit= True ) img = qr.make_image(fill_color= "yellow" , back_color= "black" ) img.save( "color_qrcode.png" ) This concise script utilizes the qrcode library to generate a QR code linked to my LinkedIn profile. What makes it special is the ability to customize colors. In this example, I chose bold yellow against a sleek black background. Experiment with colors, data, and sizes to suit your needs.                                                   Scan this and see

Calculate Your BMI with Python

Have you ever wondered what your Body Mass Index (BMI) is? BMI is a measure of body fat based on weight and height. It's a useful indicator of whether you're underweight, normal weight, overweight, or obese. I've created a simple Python function that calculates your BMI for you. Here's how you can use it: Copy and paste this code into your Python environment, and it will prompt you to enter your weight in kilograms and height in centimeters. It will then calculate your BMI and tell you whether you're underweight, normal weight, overweight, or obese based on the BMI ranges. Take a moment to check your BMI and see where you fall on the scale. Remember, BMI is just one indicator of health, so consult with a healthcare professional for personalized advice. # formula: Calculate BMI using the formula: (weight (kg) / (height (m) ^ 2)) * 100 def bmi_calc () :   weight = float ( input ( "Enter your weight in kg: " ))   height = float ( input ( "Enter your hei

Introducing a Simple Funny Grading System Program in Python

Hey there!  This is my first program on the learn-in-public journey Today, I'm excited to share a Python program I wrote that implements a simple grading system based on percentage scores. Check it out below: # 1. If the percentage is between 85 and 100 (inclusive), print "O" # 2. If the percentage is between 75 and 84.99, print "A" # 3. If the percentage is between 65 and 74.99, print "B" # 4. If the percentage is between 50 and 64.99, print "C" # 5. If the percentage is between 35 and 49.99, print "D" # 6. If the percentage is below 35, print "Sorry! You didn't pass the exam. Try next time" perc = int ( input ( "Enter your percentage: " )) if 85 < perc <= 100 :     print ( "Grade OHHO" ) elif perc > 100 :     print ( "Beta thoda izzat se" ) elif 75 <= perc < 85 :     print ( "Grade A" ) elif 65 <= perc < 75 :     print ( "Grade B" ) elif 5

From Operations to Tech: My Journey into Learning in Public

Hello, world! I'm Arun Jakhmola, a 25-year-old with a newfound passion for technology and analytics. Join me on my journey as I transition from the world of operations in the insurance industry to the dynamic realm of tech through the exciting concept of learning in public. About Me For years, I've been fascinated by numbers and the insights they can reveal. Despite my interest in analytics, I was working in operations for a multinational company in the insurance sector. While my role provided some exposure to analytics, I realized that to truly pursue my passion and advance in my career, I needed to make a change. Discovering Learning in Public In my quest for a career shift, I stumbled upon the concept of learning in public. Learning in public involves openly sharing your learning journey, experiences, and insights with others. Not only does it provide valuable exposure and networking opportunities, but it also fosters accountability and accelerates learning through feedback