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 keybase.md

Keybase proof

I hereby claim:

  • I am coci on github.
  • I am coci (https://keybase.io/coci) on keybase.
  • I have a public key whose fingerprint is 4682 0230 73A8 5CCE E642 BC4A 3E75 4224 961D D916

To claim this, I am signing this object:

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
coci / models.py
Created May 22, 2019 — forked from mike360/models.py
Simple follower/following relationship in Django
View models.py
$ ./manage.py 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.
(InteractiveConsole)
>>> from followers.models import *
>>> john = User.objects.create_user('john', 'lennon@thebeatles.com', 'password')
>>> paul = User.objects.create_user('paul', 'mccartney@thebeatles.com', 'password')
>>> george = User.objects.create_user('george', 'harrison@thebeatles.com', 'password')
>>> ringo = User.objects.create_user('ringo', 'starr@thebeatles.com', 'password')
View keybase.md

Keybase proof

I hereby claim:

  • I am coci on github.
  • I am coci (https://keybase.io/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.