Skip to content

A fun Python program that prints "Hello, World!" and showcases basic math operations ➕ ➖ ✖️ ➗ with style! ✨

Notifications You must be signed in to change notification settings

akshadachavann/Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

🎉 My First Python Program: Hello World & Arithmetic Operations 🎉

Welcome to my first Python program! In this project, I’ve created a simple Python script that:

  • Prints the classic "Hello, World!" message
  • Performs basic arithmetic operations (addition, subtraction, multiplication, and division)

Feel free to explore the code, and see how Python can be used for basic tasks and calculations.


✨ Features

  • Hello World !: The program prints "Hello, World!" to get started with Python.
  • Arithmetic Operations: It performs fundamental arithmetic operations:
    • Addition
    • Subtraction
    • Multiplication ✖️
    • Division

📝 Code Overview

Here’s a look at the program that does all the magic:

# Hello World and Arithmetic Operations in Python

# Printing Hello World
print("Hello, World!")

# Defining variables
a = 10
b = 5

# Addition
addition = a + b
print(f"Addition of {a} and {b} is {addition}")

# Subtraction
subtraction = a - b
print(f"Subtraction of {a} and {b} is {subtraction}")

# Multiplication
multiplication = a * b
print(f"Multiplication of {a} and {b} is {multiplication}")

# Division
division = a / b
print(f"Division of {a} and {b} is {division}")

About

A fun Python program that prints "Hello, World!" and showcases basic math operations ➕ ➖ ✖️ ➗ with style! ✨

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages