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

Commitc236064

Browse files
committed
new update
1 parent3e24213 commitc236064

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

‎function.py‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
deffunction1():
2+
print("function 1 called")
3+
deffunction2():
4+
print("function 2 called")
5+
6+
if__name__=='__main__':
7+
inputvar=int(input("1:FUNCTION 1\n 2:FUNCTION 2\nENTER YOUR CHOICE : "))
8+
ifinputvar==1:
9+
function1()
10+
elifinputvar==2:
11+
function2()
12+
else:
13+
print("Wrong choice..!")

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp