Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf0f56d5

Browse files
authored
Update 01_Python_Basics.md
input() has optional parameter. So "What is your name?" is passed instead of print() ing it explicitly
1 parent719c1f1 commitf0f56d5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎markdown/01_Python_Basics.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,7 @@ print('Hello world!', a)
156156
Example Code:
157157

158158
```python
159-
print('What is your name?')# ask for their name
160-
myName=input()
159+
myName=input('What is your name?')# ask for their name
161160
print('It is good to meet you,{}'.format(myName))
162161
```
163162

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp