Jovian
⭐️
Sign In
In [1]:
import click
In [2]:
res = click.confirm('Do you want to continue?')
Do you want to continue? [y/N]: y
In [3]:
print(res)
True
In [4]:
click.echo(click.style('Hello World!', fg='green'))
Hello World!
In [5]:
click.echo(click.style('Some more text', bg='blue', fg='white'))
Some more text
In [6]:
print("\x1b[31m\"red\"\x1b[0m")
"red"
In [7]:
from colorama import Fore, Back
In [8]:
print(Back.BLUE + "This is some text")
This is some text
In [9]:
print(Fore.BLUE + "This is some text")
This is some text
In [10]:
print(Back.BLUE + Fore.WHITE + "This is some text")
This is some text
In [11]:
import jovian
In [ ]:
jovian.commit(capture_env=False)
[jovian] Saving notebook..
In [ ]: