Search results

  1. fukurou

    👨‍💻 dev active task

    translate to python : Cerabellum : public class Cerabellum { // runs an algorithm private int fin; private int at; private enumFail failType; private Boolean incrementAt = false; public void advanceInAlg() { if (incrementAt) { incrementAt = false...
  2. fukurou

    🐍 python Chii's python suit

    RegexUtil and ZeroTimeGate ''' ----------------- REGEXUTIL ---------------- ''' import re from typing import Match, Pattern from collections import Counter from math import sqrt class Point: def __init__(self, x_init, y_init): self.x = x_init self.y = y_init def...
  3. fukurou

    [MEDIA]

  4. fukurou

    zerotimegate add explicit vars

    :skn::skn::skn::skn::skn::skn:
  5. fukurou

    zerotimegate add explicit vars

    ''' --------------- ZEROTIMEGATE --------------- ''' import time import datetime from datetime import timedelta ''' ZEROTIMEGATE CLASS ''' class ZeroTimeGate: # a gate that only opens x minutes after it has been set def __init__(self, minutes) -> None: self.pause = 1...
  6. fukurou

    oh this ?

    public void open(int minutes) { Date now = new Date(); openedGate = addMinutesToJavaUtilDate(now, minutes); } in java it is an inferred this actually so the program reads it as public void open(int minutes) { Date now = new Date(); this.openedGate =...
  7. fukurou

    current state regexutil

    ''' ----------------- REGEXUTIL ---------------- ''' import re from typing import Match, Pattern from collections import Counter from math import sqrt class Point: def __init__(self, x_init, y_init): self.x = x_init self.y = y_init def shift(self, x, y): self.x...
  8. fukurou

    numberRegex fixed

    def numberRegex(self, str2Check: str) -> str: theRegex = r"[-+]?[0-9]*[.,][0-9]*" list1: list[str] = [] regexMatcher = re.search(theRegex, str2Check) if (regexMatcher != None): return regexMatcher.group(0).strip() return ""
  9. fukurou

    addressing issues

    ''' ----------------- REGEXUTIL ---------------- ''' import re from typing import Match, Pattern from collections import Counter from math import sqrt class Point: def __init__(self, x_init, y_init): self.x = x_init self.y = y_init def shift(self, x, y): self.x...
  10. fukurou

    addressing issues

    continue work from this code as many errors were modified : use explicit variables see line 226 numberRegex("hello-789.998world")) # err : doesn't return decimal value (should be -789.998) print("The regexChecker2 method should return ?: ", regex.regexChecker2(r"[-+]?[0-9]{1,13}"...
  11. fukurou

    [MEDIA]

  12. fukurou

    test

  13. fukurou

    RegexUtil pointRegex example

    import re from math import sqrt class Point: def __init__(self, x_init, y_init): self.x = x_init self.y = y_init def shift(self, x, y): self.x += x self.y += y def __repr__(self): return "".join(["Point(", str(self.x), ",", str(self.y)...
  14. fukurou

    nintendo switch games

  15. fukurou

    nintendo switch games

  16. fukurou

    uma musume app

    :shrug:
  17. fukurou

    hmm

  18. fukurou

    hmm

    import re from math import sqrt class Point: def __init__(self,x_init,y_init): self.x = x_init self.y = y_init def shift(self, x, y): self.x += x self.y += y def __repr__(self): return "".join(["Point(", str(self.x), ",", str(self.y)...
  19. fukurou

    uma musume app

    באסה שאין מקום
Top