Skip to content

Commit 4697c8d

Browse files
author
codebasics
committed
Merge branch 'master' of https://github.com/codebasics/py into master
2 parents 59bbb71 + dee845c commit 4697c8d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

DataScience/BangloreHomePrices/client/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function onClickedEstimatePrice() {
2626
var location = document.getElementById("uiLocations");
2727
var estPrice = document.getElementById("uiEstimatedPrice");
2828

29-
// var url = "http://127.0.0.1:5000/predict_home_price"; Use this if you are NOT using nginx which is first 7 tutorials
29+
// var url = "http://127.0.0.1:5000/predict_home_price"; //Use this if you are NOT using nginx which is first 7 tutorials
3030
var url = "/api/predict_home_price"; // Use this if you are using nginx. i.e tutorial 8 and onwards
3131

3232
$.post(url, {
@@ -59,4 +59,4 @@ function onPageLoad() {
5959
});
6060
}
6161

62-
window.onload = onPageLoad;
62+
window.onload = onPageLoad;

DataStructures/3_LinkedList/3_linked_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def print(self):
1414
itr = self.head
1515
llstr = ''
1616
while itr:
17-
llstr += str(itr.data) + ' --> '
17+
llstr += str(itr.data)+' --> ' if itr.next else str(itr.data)
1818
itr = itr.next
1919
print(llstr)
2020

0 commit comments

Comments
 (0)