CoCalc Public Filestmp / 2016-09-22-153210.sagewsOpen in with one click!
Author: William A. Stein
@interact def f(n='a'): print n
Interact: please open in CoCalc
()
()
%sh ls -l |head
total 49704
-rw-r-----  1 4a5f054258734eeda85ca18c706e8bcd 4a5f054258734eeda85ca18c706e8bcd     3444 Sep 14 03:44 #overleaf.tex#
drwxr-x---  2 4a5f054258734eeda85ca18c706e8bcd 4a5f054258734eeda85ca18c706e8bcd     4096 Sep 22 23:31 -foo
drwxr-xr-x  2 4a5f054258734eeda85ca18c706e8bcd 4a5f054258734eeda85ca18c706e8bcd    20480 Jul 17  2015 1000
-rw-rw----  1 4a5f054258734eeda85ca18c706e8bcd 4a5f054258734eeda85ca18c706e8bcd       36 Nov  2  2014 2013-11-12-005112.term
-rw-rw----  1 4a5f054258734eeda85ca18c706e8bcd 4a5f054258734eeda85ca18c706e8bcd  1027314 Dec 12  2014 2014-10-03-170445.pdf
-rw-rw----  1 4a5f054258734eeda85ca18c706e8bcd 4a5f054258734eeda85ca18c706e8bcd    16244 Dec 12  2014 2014-10-03-170445.sagews
-rw-rw----  1 4a5f054258734eeda85ca18c706e8bcd 4a5f054258734eeda85ca18c706e8bcd       36 Oct 22  2014 2014-10-22-130422.term
-rw-rw----  1 4a5f054258734eeda85ca18c706e8bcd 4a5f054258734eeda85ca18c706e8bcd      154 Oct 23  2014 2014-10-23-162444.sagews
-rw-rw----  1 4a5f054258734eeda85ca18c706e8bcd 4a5f054258734eeda85ca18c706e8bcd    40652 Oct 26  2014 2014-10-25-170111.sagews
%load a b.sage
hi
%r getwd()
[1] "/projects/4a5f0542-5873-4eed-a85c-a18c706e8bcd"
2+5
7

Foo

bar

This is a test

  • one
  • two
%html <h1> Foo </h1> bar

Foo

bar
()
sum(x^2, x, 1, 1000)
333833500
range(10)
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
@interact def f(n='abc'): print n
Interact: please open in CoCalc
f(pi)
2*pi
plot(sin)