Skip to content

Instantly share code, notes, and snippets.

View mahababa's full-sized avatar
🤒
Out sick

Nimish Maheshwari mahababa

🤒
Out sick
  • GLA University, Mathura
View GitHub Profile
def print_bill(items, prices, discounts):
new_i = []
new_p = []
total = 0
"""
items1 = [list(map(int, x)) for x in items]
prices1 = [list(map(int, x)) for x in prices]
discounts1 = [list(map(int, x)) for x in discounts]
"""
prices1 = list(map(int, prices))
@mahababa
mahababa / youtube playlist
Created July 18, 2019 12:22
This is Youtube playlis
https://www.youtube.com/watch?v=71En_pl_Ozo
@mahababa
mahababa / pang.c
Created July 3, 2019 17:59
Pangram Checking using C
#include<stdio.h>
void main()
{
int arr[26] = {0}; // Alphabet Array to count no of occurence
char str[] = "ABCDEFGHIJKLMNOPQRSTuvwxYZ"; //Input String
int i = 10, count = 0, l = 0;
//iterating every member of the input string
for(i= 0; str[i] != '\0' ; i++)
{
l = str[i]; // Getting the ascii values 'a' = 97 and 'A' = 65