-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathcheck.py
More file actions
36 lines (30 loc) · 898 Bytes
/
Copy pathcheck.py
File metadata and controls
36 lines (30 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Why: Demo for function and input/output
def func1():
# Why: Placeholder function for structure
# utka
# utkasfjh
# jlfdjlj
# jrlfjl
print(func1)
# Why: Show input/output in terminal
# Make vs code compatible to take the input
# make changes in code runner through settings -> run in terminal
# -> Clear previous output
# -> Save file before run
print("Hello world")
a = input("Enter a number\n")
print ("Your number is: ", a)
# Why: List and loop example
# use of alt+ shift or alt + select to add changes at various places at once
movieList = ["-Inception",
"-The dep Unchained",
"-Django Unchained ",
"-The wolf of wall street ",
"-SHutter island",
"-Catch me if you can",
]
for movie in movieList:
print(f"This is {movieList}")
# print using code snippet
print(f"")
print(f" {a}")