I am also active at:
Thursday, July 30, 2020
Sunday, July 26, 2020
Thursday, July 23, 2020
Monday, July 20, 2020
How to create charts with Django and Chart.js in a web application.
These videos guides you through building graph web application
- https://www.youtube.com/watch?v=sE08f4iuOhA&list=TLPQMjAwNzIwMjAkmHGlb26-4Q&index=1
- https://www.youtube.com/watch?v=1OL5n06kO_w
How to use Chart.js to build graphs in a web application
- https://www.youtube.com/watch?v=5-ptp9tRApM
- https://www.youtube.com/watch?v=sE08f4iuOhA&list=TLPQMjAwNzIwMjAkmHGlb26-4Q&index=1
These videos explains how to use JavaScript library 'Chart.js' to build charts.
Friday, July 10, 2020
Wednesday, July 1, 2020
Simple Python program to calculate profit percentage
Filename: Profit.py // written in Notepad
***********File begins here****************
// function definition
//call the function to execute it
findProfit()
***************File ends here**************
Outputs % profit upto 2 decimal points.
***********File begins here****************
// function definition
def findProfit():
x = 'a'
while x != 'n' or x != 'N':
c = float(input("Enter current market price : "))
s = float(input("Enter expected sell price : "))
a = float((s - c)/c)*100
formatted_a = "{:.2f}".format(a)
print("% Profit for buy at " + str(c) + " and expected sell at " + str(s) + " would be : " + str(formatted_a) +"%")
print()
x= input("Want to continue (y/n) :")
if x == 'n':
exit()
//call the function to execute it
findProfit()
***************File ends here**************
Outputs % profit upto 2 decimal points.
Subscribe to:
Posts (Atom)
इश्क में ग़ैरत-ए-जज़्बात ने रोने ना दिया - सुदर्शन फ़ाकिर
इश्क में ग़ैरत-ए-जज़्बात ने रोने ना दिया वरना क्या बात थी किस बात ने रोने ना दिया आप कहते थे कि रोने से ना बदलेंगे नसीब उमर भर आप की इस बात...
-
Acronym Full Form AJAX Asynchronous JavaScript and XML API Application Programming Interface APK Android Application Package ASP Activ...
-
#include<stdio.h> int main() { int M,N,q; scanf("%i %i",&M, &N); if((M%N)!=0) {printf("0...
-
"A good company understands that problem solving ability and the ability to learn new things are far more important than knowledge o...