Skip to content

Instantly share code, notes, and snippets.

On vacation

soroush coci

On vacation
Block or report user

Report or block coci

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View fateme training
Write a function named collatz() that has one parameter named number . If number is even, then collatz() should print number // 2 and return this value. If number is odd, then collatz() should print and return 3 * number + 1
write function that take a input user's name and then have greeting with them .
coci /
Created May 22, 2019 — forked from mike360/
Simple follower/following relationship in Django
$ ./ shell
Python 2.7.5 (default, Aug 25 2013, 00:04:04)
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from followers.models import *
>>> john = User.objects.create_user('john', '', 'password')
>>> paul = User.objects.create_user('paul', '', 'password')
>>> george = User.objects.create_user('george', '', 'password')
>>> ringo = User.objects.create_user('ringo', '', 'password')

Keybase proof

I hereby claim:

  • I am coci on github.
  • I am coci ( on keybase.
  • I have a public key ASDq-_3rCbiNUWTDSixqh2ZGTxahbCxMBWoHT8X2k7pf9Qo

To claim this, I am signing this object:

You can’t perform that action at this time.