Code Monkey home page Code Monkey logo

Hi there 👋

Hello, I am @0xScourgedev, an independent security researcher specialized in fuzzing.

0xScourgedev's Projects

assignemnt-five-python-udemy icon assignemnt-five-python-udemy

1) Import the random function and generate both a random number between 0 and 1 as well as a random number between 1 and 10. 2) Use the datetime library together with the random number to generate a random, unique value.

assignemnt-four-python-udemy icon assignemnt-four-python-udemy

1) Write a normal function that accepts another function as an argument. Output the result of that other function in your “normal” function. 2) Call your “normal” function by passing a lambda function – which performs any operation of your choice – as an argument. 3) Tweak your normal function by allowing an infinite amount of arguments on which your lambda function will be executed. 4) Format the output of your “normal” function such that numbers look nice and are centered in a 20 character column.

assignment-one-python-udemy icon assignment-one-python-udemy

1) Create two variables – one with your name and one with your age 2) Create a function which prints your data as one string 3) Create a function which prints ANY data (two arguments) as one string 4) Create a function which calculates and returns the number of decades you already lived (e.g. 23 = 2 decades)

assignment-seven-udemy icon assignment-seven-udemy

1) Create a Food class with a “name” and a “kind” attribute as well as a “describe() ” method (which prints “name” and “kind” in a sentence). 2) Try turning describe() from an instance method into a class and a static method. Change it back to an instance method thereafter. 3) Create a “Meat” and a “Fruit” class – both should inherit from “Food”. Add a “cook() ” method to “Meat” and “clean() ” to “Fruit”. 4) Overwrite a “dunder” method to be able to print your “Food” class.

assignment-six-python-udemy icon assignment-six-python-udemy

1) Write a short Python script which queries the user for input (infinite loop with exit possibility) and writes the input to a file. 2) Add another option to your user interface: The user should be able to output the data stored in the file in the terminal. 3) Store user input in a list (instead of directly adding it to the file) and write that list to the file – both with pickle and json. 4) Adjust the logic to load the file content to work with pickled/ json data.

assignment-three-python-udemy icon assignment-three-python-udemy

1) Create a list of “person” dictionaries with a name, age and list of hobbies for each person. Fill in any data you want. 2) Use a list comprehension to convert this list of persons into a list of names (of the persons). 3) Use a list comprehension to check whether all persons are older than 20. 4) Copy the person list such that you can safely edit the name of the first person (without changing the original list). 5) Unpack the persons of the original list into different variables and output these variables.

assignment-two-python-udemy- icon assignment-two-python-udemy-

1) Create a list of names and use a for loop to output the length of each name (len() ). 2) Add an if check inside the loop to only output names longer than 5 characters. 3) Add another if check to see whether a name includes a “n” or “N” character. 4) Use a while loop to empty the list of names (via pop() )

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.