Search results

  1. fukurou

    [MEDIA]

  2. fukurou

    🍵 kotlin Error: Could not find or load main class _DefaultPackage

    place the main code inside a kotlin class file, not in a plain kt file class Tester { } fun main(args:Array<String>) { val age = 0 // implicit var declaration val isCompleted = false // explicit var declaration val num = 2 // constant takes less space than var println("test") }
  3. fukurou

    [MEDIA]

  4. fukurou

    🐍 python SyntaxError: invalid syntax when using match case

    to fix this you need your pycharm to use python (version) 3.1 : delete pycharm and python https://www.jetbrains.com/pycharm/download/#section=windows https://www.python.org/downloads/ on the pycharm IDE: Press Ctrl+Alt+S to open the project Settings/Preferences and go to Project: <project...
  5. fukurou

    🐍 python switch

    '''switch''' n:str = "test" match n: case 'hello': print("hi there!") case 'y': print("y") case _: print("default case")
  6. fukurou

    pokemon !

    hey zoro @ZORO
  7. fukurou

    🐍 python python cheat sheet

    '''variables''' age = 0 # implicit var declaration isCompleted: bool = False # explicit var declaration NUM: int = 2 # constant takes less space than var '''strings''' str1: str = "1+4=hello" s1: str = f'Good {var1}! time to {var2}!' '''classes''' class MyClass(Object): myProperty...
  8. fukurou

    test

    :oops:
  9. fukurou

    [MEDIA]

  10. fukurou

    [MEDIA]

  11. fukurou

    our QR code

  12. fukurou

    test

    variables dictionary varargs randomizer VARIABLES DICTIONARY VARARGS STRINGS JAVA CHEAT SHEET Dictionary Variables RANDOMIZER
  13. fukurou

    test

    hello
  14. fukurou

    test

    1234567890
  15. fukurou

    test

    1234567890
  16. fukurou

    test

    this is a test
  17. fukurou

    test

    test
  18. fukurou

    test

    hello world
  19. fukurou

    ☕ java rnd

    import java.util.Random; Random rand = new Random(); // instance of random class int upperbound = 25; // generate random values from 0-24 int int_random = rand.nextInt(upperbound); // 0->upperbound -1 double double_random = rand.nextDouble();// 0->1 float float_random = rand.nextFloat(); //0->1
  20. fukurou

    ☕ java java cheat sheet dev

    *variables* int age = 0; // implicit var declaration Boolean isCompleted = false; // explicit var declaration final int num = 2; // constant takes less space than var *strings* String str1 = "hello"; String s1 = String.format("%s %s %d :)", "1+4", "=", 5); *classes* public class MyClass...
Top