Skip to content

Instantly share code, notes, and snippets.

View vtu29735-bit's full-sized avatar

vtu29735-bit

  • Joined Oct 16, 2025
View GitHub Profile
@vtu29735-bit
vtu29735-bit / Task3.py
Created October 16, 2025 06:12
B Pravallika
Task3a
# Function to find k'th non repeating character
# in string
from collections import OrderedDict
def kthRepeating(input,k):
@vtu29735-bit
vtu29735-bit / Task2.py
Created October 16, 2025 05:06
B Pravallika
Task2a
score =int(input("Enter the score:"))
if score>=90:
print("The Grade is A")
elif (score <=89 and score>=80):
@vtu29735-bit
vtu29735-bit / Task1.py
Created October 16, 2025 05:03
B Pravallika
Task1a
a = int(input())
print("Loaves Discount")
r=185*a
d=0.6*r
a=0.4*r
print("Regular Price ", r)
print("Total Discount ", d)