Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: why I dont get any output from this code
Post: RE: why I dont get any output from this code

@Axel_Erfurt Many thanks friend **heart**
William369 General Coding Help 2 1,131 Jun-23-2022, 09:18 PM
    Thread: why I dont get any output from this code
Post: why I dont get any output from this code

Hi I am trying to execute this code in repl.it but I dont get any result can you please advise what is wrong ? https://replit.com/@MartinAdams2/Hurtful...ng#main.py
William369 General Coding Help 2 1,131 Jun-23-2022, 09:00 PM
    Thread: Storing new value to array
Post: RE: Storing new value to array

I think he used mapping value:index to return the index for the two numbers
William369 General Coding Help 4 1,382 Jun-22-2022, 09:34 PM
    Thread: Storing new value to array
Post: RE: Storing new value to array

(Jun-22-2022, 09:10 PM)deanhystad Wrote: The algorithm is gibberish. None of it makes sense at all. What it is trying to do is this: if a + b = c, then c - a = b. Keep a record of c - a. If b ap...
William369 General Coding Help 4 1,382 Jun-22-2022, 09:17 PM
    Thread: Storing new value to array
Post: Storing new value to array

Hi I am new to Python and I saw this two sum algorithm solution class Solution: def twoSum(self, nums: List[int], target: int) -> List[int]: prevMap = {} for...
William369 General Coding Help 4 1,382 Jun-22-2022, 05:59 PM
    Thread: How to get the data
Post: How to get the data

Hi I am new to python and I installed the requirements then I ran the main.py file then what I should do to browsse the get the json data ? here is the code: import flask import pandas as pd def cr...
William369 General Coding Help 2 1,591 Feb-13-2020, 06:17 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020