Skip to content

Commit 3c0fb66

Browse files
committed
Criado usando o Colab
1 parent 39e7f19 commit 3c0fb66

1 file changed

+37
-0
lines changed

Operações_Matemáticas,Operações_Lógicas,Operações_Relacionais_e_Condicionais.ipynb

+37
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,43 @@
699699
"execution_count": null,
700700
"outputs": []
701701
},
702+
{
703+
"cell_type": "markdown",
704+
"source": [
705+
"#não é possivel fazer operação entre tipos diferentes"
706+
],
707+
"metadata": {
708+
"id": "8DtYYSwtr0db"
709+
}
710+
},
711+
{
712+
"cell_type": "code",
713+
"source": [
714+
"\"1\"+2"
715+
],
716+
"metadata": {
717+
"colab": {
718+
"base_uri": "https://localhost:8080/",
719+
"height": 141
720+
},
721+
"id": "lkh6mwrGrkSG",
722+
"outputId": "2de38860-d8ac-4e80-ae59-6f8b7f07aa79"
723+
},
724+
"execution_count": 1,
725+
"outputs": [
726+
{
727+
"output_type": "error",
728+
"ename": "TypeError",
729+
"evalue": "can only concatenate str (not \"int\") to str",
730+
"traceback": [
731+
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
732+
"\u001b[0;31mTypeError\u001b[0m Traceback (most recent call last)",
733+
"\u001b[0;32m<ipython-input-1-5c53161196cd>\u001b[0m in \u001b[0;36m<cell line: 1>\u001b[0;34m()\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0;34m\"1\"\u001b[0m\u001b[0;34m+\u001b[0m\u001b[0;36m2\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m",
734+
"\u001b[0;31mTypeError\u001b[0m: can only concatenate str (not \"int\") to str"
735+
]
736+
}
737+
]
738+
},
702739
{
703740
"cell_type": "markdown",
704741
"source": [

0 commit comments

Comments
 (0)