{"action":"opened","issue":{"url":"https://api.github.com/repos/misspenalty/just-for-fun/issues/2","repository_url":"https://api.github.com/repos/misspenalty/just-for-fun","labels_url":"https://api.github.com/repos/misspenalty/just-for-fun/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/misspenalty/just-for-fun/issues/2/comments","events_url":"https://api.github.com/repos/misspenalty/just-for-fun/issues/2/events","html_url":"https://github.com/misspenalty/just-for-fun/issues/2","id":138680142,"number":2,"title":"Pythonista craving Veganista","user":{"login":"misspenalty","id":16303024,"avatar_url":"https://avatars.githubusercontent.com/u/16303024?v=3","gravatar_id":"","url":"https://api.github.com/users/misspenalty","html_url":"https://github.com/misspenalty","followers_url":"https://api.github.com/users/misspenalty/followers","following_url":"https://api.github.com/users/misspenalty/following{/other_user}","gists_url":"https://api.github.com/users/misspenalty/gists{/gist_id}","starred_url":"https://api.github.com/users/misspenalty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misspenalty/subscriptions","organizations_url":"https://api.github.com/users/misspenalty/orgs","repos_url":"https://api.github.com/users/misspenalty/repos","events_url":"https://api.github.com/users/misspenalty/events{/privacy}","received_events_url":"https://api.github.com/users/misspenalty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-05T13:39:18Z","updated_at":"2016-03-05T13:39:18Z","closed_at":null,"body":"```python \r\n#Write a program which declares 2 floats and prints out their sum, difference, product and quotient\r\nimport math\r\nprint \"Enter a\"\r\na =float(raw_input())\r\nprint \"Enter b\"\r\nb = float(raw_input())\r\n\r\n\r\nprint \"The two floats are \", a, \"und \", b\r\nprint \"The sum of %f and %f is % s\" %(a, b, a+b)\r\nprint \"The difference is\", a-b\r\nprint \"The product is\", a*b\r\nprint \"The quotient is\", a/b\r\nprint \"A to the power of b is\", math.pow(a,b)\r\n\r\n#power with a loop\r\nprint \"Enter c\"\r\nc = int(raw_input())\r\ne = c\r\nprint \"Enter d\"\r\nd = int(raw_input())\r\ni = 1\r\nwhile i<d:\r\n    e=e*c\r\n    i=i+1\r\n\r\nprint \"%i to the power of %i is %i\" %(c, d, float(e))\r\n```"}}