Giter Club home page Giter Club logo

RokU's Projects

playback icon playback

class Dog: def __init__(self, name): self.name = name self.legs = 4 def speak(self): print(self.name + ' says: Bark!') my_dog = Dog('rover') another_dog = Dog('Fluffy') print(my_dog.speak()) print(another_dog.speak()) print("+----------+----------+") def is_leap_year(x): if (x % 4 == 0 or x % 100 != 0) and x % 400 == 0: return True else: return False print(is_leap_year(1600)) print("+----------+----------+") P = float(input('P = ')) t = float(input('t = ')) n = 12 r = 0.08 print('the final amount if one is earning compound interest is A = ', P * (1 + r / n )** n*t) print("+----------+----------+") for N in range(1, 101, 1): ori_N = N count = 0 while True: if N == 1: break if N % 2 == 0: N = N / 2 else: N = N * 3 + 1 count += 1 print(format(str(ori_N), str(count))) print("+----------+----------+") x = "We like Python's turtle" for x in range (1001): print("We like Python's turtle") print("+----------+----------+") import random for x in range(10): print (random.randrange(25, 35)) print("+----------+----------+") from turtle import * for i in range (3, 9): for v in range (0, i): v = 360 / i forward(150) left(150) done print("+----------+----------+")

simple-blog-bootstrap icon simple-blog-bootstrap

This is a template repo you can use to set up a simple blog using GitHub Pages with SSMS Style T-SQL highlighting. Refer to the blog post below for more instructions.

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.