1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Pythonの基礎知識(第一回の授業で自分が書いたノート)

Last updated at Posted at 2022-10-12

関数

Pythonにはさまざまな関数が存在する。
例)
print() ⇨()内に入れたものをターミナルに出力する関数
len() ⇨()内に入れたものの文字数や要素数を数える関数
関数=便利なプログラム

print()について

printは、出力と改行の意味を持つ

改行を消したい場合...

⇨endに『空文字("")』を入れる

print("ハローワールド",end="")
1
0
1

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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?