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)
Sacred Thought
5 May 2024 Hari Om Verse 50-51, chapter two: In this chapter two Shree krishna explains a simple way of living. Free from desires and void ...
-
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&quo...
-
Define a Python function ascending(l) that returns True if each element in its input list is at least as big as the one before it. Here...