Skip to content

Instantly share code, notes, and snippets.

@madsoeni
Created May 12, 2019 15:59
Show Gist options
  • Select an option

  • Save madsoeni/49eb74ff294f24001e14a38d829e83ae to your computer and use it in GitHub Desktop.

Select an option

Save madsoeni/49eb74ff294f24001e14a38d829e83ae to your computer and use it in GitHub Desktop.
Created on Cognitive Class Labs
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Hello, world!\n"
]
}
],
"source": [
"#print() function to print out the phrase: Hello, world!\n",
"print('Hello, world!')"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"the traditional hello world\n"
]
}
],
"source": [
"#come ho fatto io\n",
"#Print the traditional hello world\n",
"print('the traditional hello world')"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"the traditional hello world\n"
]
}
],
"source": [
"#soluzione (stesso risultato):\n",
"print('the traditional hello world') #Print the traditional hello world\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.8"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment