{"comment":{"url":"https://api.github.com/repos/rt-rk007/Python---comparing-two-strings/comments/18171151","html_url":"https://github.com/rt-rk007/Python---comparing-two-strings/commit/7f6b98b3eff3c612aec6bac36332ab78012fa853#commitcomment-18171151","id":18171151,"user":{"login":"rt-rk007","id":20352630,"avatar_url":"https://avatars.githubusercontent.com/u/20352630?v=3","gravatar_id":"","url":"https://api.github.com/users/rt-rk007","html_url":"https://github.com/rt-rk007","followers_url":"https://api.github.com/users/rt-rk007/followers","following_url":"https://api.github.com/users/rt-rk007/following{/other_user}","gists_url":"https://api.github.com/users/rt-rk007/gists{/gist_id}","starred_url":"https://api.github.com/users/rt-rk007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rt-rk007/subscriptions","organizations_url":"https://api.github.com/users/rt-rk007/orgs","repos_url":"https://api.github.com/users/rt-rk007/repos","events_url":"https://api.github.com/users/rt-rk007/events{/privacy}","received_events_url":"https://api.github.com/users/rt-rk007/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":null,"commit_id":"7f6b98b3eff3c612aec6bac36332ab78012fa853","created_at":"2016-07-08T08:59:11Z","updated_at":"2016-07-08T08:59:11Z","body":"# solved it and this is the solution:\r\nx = raw_input(\"unesi prvi string:\")\r\ny = raw_input(\"unesi drugi string:\")\r\ndef z():\r\n    if len(x) == len(y):\r\n        return 0\r\n    elif len(x) > len(y):\r\n        return -1\r\n    else:\r\n        len(x) < len(y)\r\n        return 1\r\nprint z()"}}
{"actor":{"display_login":"rt-rk007"}}