{"action":"created","comment":{"url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/pulls/comments/70187148","id":70187148,"diff_hunk":"@@ -1,5 +1,9 @@\n-\"\"\"\n-Write a program that randomizes integers in a loop\n-until it finds a number that is divisable by: 7, 13 and 15\n-\"\"\"\n-\n+from random import randint\r\n+\r\n+while True:\r\n+    num = randint(1,1000000)\r\n+    if num % 7 == 0:\r\n+        if num % 13 == 0:\r\n+            if num % 15 == 0:\r\n+                 print num\r\n+                 break;\r","path":"05_syntax_lab/05.py","position":14,"original_position":14,"commit_id":"b01b9f7ebe7f833e54089daa3c7d5cfbf2a15743","original_commit_id":"af1d86b1ef3ec38c37b4131d866c63701efa1e71","user":{"login":"szabgab","id":48833,"avatar_url":"https://avatars.githubusercontent.com/u/48833?v=3","gravatar_id":"","url":"https://api.github.com/users/szabgab","html_url":"https://github.com/szabgab","followers_url":"https://api.github.com/users/szabgab/followers","following_url":"https://api.github.com/users/szabgab/following{/other_user}","gists_url":"https://api.github.com/users/szabgab/gists{/gist_id}","starred_url":"https://api.github.com/users/szabgab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szabgab/subscriptions","organizations_url":"https://api.github.com/users/szabgab/orgs","repos_url":"https://api.github.com/users/szabgab/repos","events_url":"https://api.github.com/users/szabgab/events{/privacy}","received_events_url":"https://api.github.com/users/szabgab/received_events","type":"User","site_admin":false},"body":"This could be better written in a single if statement connection the conditions with 'and'.","created_at":"2016-07-10T19:31:21Z","updated_at":"2016-07-10T19:31:21Z","html_url":"https://github.com/ynonp/python-examples-verint-2016-07/pull/76#discussion_r70187148","pull_request_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/pulls/76","_links":{"self":{"href":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/pulls/comments/70187148"},"html":{"href":"https://github.com/ynonp/python-examples-verint-2016-07/pull/76#discussion_r70187148"},"pull_request":{"href":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/pulls/76"}}},"pull_request":{"url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/pulls/76","id":76874879,"html_url":"https://github.com/ynonp/python-examples-verint-2016-07/pull/76","diff_url":"https://github.com/ynonp/python-examples-verint-2016-07/pull/76.diff","patch_url":"https://github.com/ynonp/python-examples-verint-2016-07/pull/76.patch","issue_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/issues/76","number":76,"state":"open","locked":false,"title":"ToCode Solution: תרגול תחביר","user":{"login":"idanpp","id":20379762,"avatar_url":"https://avatars.githubusercontent.com/u/20379762?v=3","gravatar_id":"","url":"https://api.github.com/users/idanpp","html_url":"https://github.com/idanpp","followers_url":"https://api.github.com/users/idanpp/followers","following_url":"https://api.github.com/users/idanpp/following{/other_user}","gists_url":"https://api.github.com/users/idanpp/gists{/gist_id}","starred_url":"https://api.github.com/users/idanpp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idanpp/subscriptions","organizations_url":"https://api.github.com/users/idanpp/orgs","repos_url":"https://api.github.com/users/idanpp/repos","events_url":"https://api.github.com/users/idanpp/events{/privacy}","received_events_url":"https://api.github.com/users/idanpp/received_events","type":"User","site_admin":false},"body":null,"created_at":"2016-07-10T14:37:45Z","updated_at":"2016-07-10T19:31:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"78974cac606a5b6fd9241db079bd5775099b354f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/pulls/76/commits","review_comments_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/pulls/76/comments","review_comment_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/issues/76/comments","statuses_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/statuses/b01b9f7ebe7f833e54089daa3c7d5cfbf2a15743","head":{"label":"idanpp:sol-python-verint.syntax-lab","ref":"sol-python-verint.syntax-lab","sha":"b01b9f7ebe7f833e54089daa3c7d5cfbf2a15743","user":{"login":"idanpp","id":20379762,"avatar_url":"https://avatars.githubusercontent.com/u/20379762?v=3","gravatar_id":"","url":"https://api.github.com/users/idanpp","html_url":"https://github.com/idanpp","followers_url":"https://api.github.com/users/idanpp/followers","following_url":"https://api.github.com/users/idanpp/following{/other_user}","gists_url":"https://api.github.com/users/idanpp/gists{/gist_id}","starred_url":"https://api.github.com/users/idanpp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idanpp/subscriptions","organizations_url":"https://api.github.com/users/idanpp/orgs","repos_url":"https://api.github.com/users/idanpp/repos","events_url":"https://api.github.com/users/idanpp/events{/privacy}","received_events_url":"https://api.github.com/users/idanpp/received_events","type":"User","site_admin":false},"repo":{"id":62989397,"name":"python-examples-verint-2016-07","full_name":"idanpp/python-examples-verint-2016-07","owner":{"login":"idanpp","id":20379762,"avatar_url":"https://avatars.githubusercontent.com/u/20379762?v=3","gravatar_id":"","url":"https://api.github.com/users/idanpp","html_url":"https://github.com/idanpp","followers_url":"https://api.github.com/users/idanpp/followers","following_url":"https://api.github.com/users/idanpp/following{/other_user}","gists_url":"https://api.github.com/users/idanpp/gists{/gist_id}","starred_url":"https://api.github.com/users/idanpp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idanpp/subscriptions","organizations_url":"https://api.github.com/users/idanpp/orgs","repos_url":"https://api.github.com/users/idanpp/repos","events_url":"https://api.github.com/users/idanpp/events{/privacy}","received_events_url":"https://api.github.com/users/idanpp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/idanpp/python-examples-verint-2016-07","description":"Python examples and exercises","fork":true,"url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07","forks_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/forks","keys_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/keys{/key_id}","collaborators_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/teams","hooks_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/hooks","issue_events_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/issues/events{/number}","events_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/events","assignees_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/assignees{/user}","branches_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/branches{/branch}","tags_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/tags","blobs_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/git/refs{/sha}","trees_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/git/trees{/sha}","statuses_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/statuses/{sha}","languages_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/languages","stargazers_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/stargazers","contributors_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/contributors","subscribers_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/subscribers","subscription_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/subscription","commits_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/commits{/sha}","git_commits_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/git/commits{/sha}","comments_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/comments{/number}","issue_comment_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/issues/comments{/number}","contents_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/contents/{+path}","compare_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/compare/{base}...{head}","merges_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/merges","archive_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/downloads","issues_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/issues{/number}","pulls_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/pulls{/number}","milestones_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/milestones{/number}","notifications_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/labels{/name}","releases_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/releases{/id}","deployments_url":"https://api.github.com/repos/idanpp/python-examples-verint-2016-07/deployments","created_at":"2016-07-10T08:27:42Z","updated_at":"2016-07-10T08:27:44Z","pushed_at":"2016-07-10T14:39:29Z","git_url":"git://github.com/idanpp/python-examples-verint-2016-07.git","ssh_url":"git@github.com:idanpp/python-examples-verint-2016-07.git","clone_url":"https://github.com/idanpp/python-examples-verint-2016-07.git","svn_url":"https://github.com/idanpp/python-examples-verint-2016-07","homepage":null,"size":37,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ynonp:master","ref":"master","sha":"05f8c220eaffeb28e7bd816cc4a2e49c1479f4f7","user":{"login":"ynonp","id":128594,"avatar_url":"https://avatars.githubusercontent.com/u/128594?v=3","gravatar_id":"","url":"https://api.github.com/users/ynonp","html_url":"https://github.com/ynonp","followers_url":"https://api.github.com/users/ynonp/followers","following_url":"https://api.github.com/users/ynonp/following{/other_user}","gists_url":"https://api.github.com/users/ynonp/gists{/gist_id}","starred_url":"https://api.github.com/users/ynonp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ynonp/subscriptions","organizations_url":"https://api.github.com/users/ynonp/orgs","repos_url":"https://api.github.com/users/ynonp/repos","events_url":"https://api.github.com/users/ynonp/events{/privacy}","received_events_url":"https://api.github.com/users/ynonp/received_events","type":"User","site_admin":false},"repo":{"id":62203857,"name":"python-examples-verint-2016-07","full_name":"ynonp/python-examples-verint-2016-07","owner":{"login":"ynonp","id":128594,"avatar_url":"https://avatars.githubusercontent.com/u/128594?v=3","gravatar_id":"","url":"https://api.github.com/users/ynonp","html_url":"https://github.com/ynonp","followers_url":"https://api.github.com/users/ynonp/followers","following_url":"https://api.github.com/users/ynonp/following{/other_user}","gists_url":"https://api.github.com/users/ynonp/gists{/gist_id}","starred_url":"https://api.github.com/users/ynonp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ynonp/subscriptions","organizations_url":"https://api.github.com/users/ynonp/orgs","repos_url":"https://api.github.com/users/ynonp/repos","events_url":"https://api.github.com/users/ynonp/events{/privacy}","received_events_url":"https://api.github.com/users/ynonp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ynonp/python-examples-verint-2016-07","description":"Python examples and exercises","fork":false,"url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07","forks_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/forks","keys_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/teams","hooks_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/hooks","issue_events_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/issues/events{/number}","events_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/events","assignees_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/assignees{/user}","branches_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/branches{/branch}","tags_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/tags","blobs_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/git/refs{/sha}","trees_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/statuses/{sha}","languages_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/languages","stargazers_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/stargazers","contributors_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/contributors","subscribers_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/subscribers","subscription_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/subscription","commits_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/commits{/sha}","git_commits_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/git/commits{/sha}","comments_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/comments{/number}","issue_comment_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/issues/comments{/number}","contents_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/contents/{+path}","compare_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/merges","archive_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/downloads","issues_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/issues{/number}","pulls_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/pulls{/number}","milestones_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/milestones{/number}","notifications_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/labels{/name}","releases_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/releases{/id}","deployments_url":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/deployments","created_at":"2016-06-29T07:06:57Z","updated_at":"2016-07-06T08:47:02Z","pushed_at":"2016-07-10T19:30:52Z","git_url":"git://github.com/ynonp/python-examples-verint-2016-07.git","ssh_url":"git@github.com:ynonp/python-examples-verint-2016-07.git","clone_url":"https://github.com/ynonp/python-examples-verint-2016-07.git","svn_url":"https://github.com/ynonp/python-examples-verint-2016-07","homepage":null,"size":40,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":20,"forks":31,"open_issues":20,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/pulls/76"},"html":{"href":"https://github.com/ynonp/python-examples-verint-2016-07/pull/76"},"issue":{"href":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/issues/76"},"comments":{"href":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/issues/76/comments"},"review_comments":{"href":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/pulls/76/comments"},"review_comment":{"href":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/pulls/76/commits"},"statuses":{"href":"https://api.github.com/repos/ynonp/python-examples-verint-2016-07/statuses/b01b9f7ebe7f833e54089daa3c7d5cfbf2a15743"}}}}
{"actor":{"display_login":"szabgab"}}