LoginSignup
0
0

Pythonで「Markdownセルを使ってテキストを表示する」の動作を確認してみた

Posted at

概要

Pythonで「Markdownセルを使ってテキストを表示する」の動作を確認してみました。以下のページを参考にしました。

実装

以下のファイルを作成しました。

file20231021.ipynb
{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "cb9249f7-691e-4a04-88b0-4da535f567a3",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "120.0"
      ]
     },
     "execution_count": 1,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "150 * 8 * 0.1"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "04f3bb01-32c6-4be4-a659-a7da8fb94a40",
   "metadata": {},
   "source": [
    "四則演算を行いました。"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "7bbe1888-9aec-4f39-88d2-98afb9736c02",
   "metadata": {},
   "source": [
    "- Python3.10.12を利用\n",
    "- データ検証用\n",
    "- 詳細は資料4.A参照"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "5c79af1a-8d30-4e7c-88c5-bfe6bac77474",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "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.10.12"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}

実行画面は以下の通りです。
Screenshot from 2023-10-21 08-30-30.png

まとめ

何かの役に立てばと。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0