diff options
Diffstat (limited to 'wk6/pset')
-rw-r--r-- | wk6/pset/hello.c | 6 | ||||
-rw-r--r-- | wk6/pset/sentimental-hello/hello.py | 2 | ||||
-rw-r--r-- | wk6/pset/sentimental-mario-more/mario.py | 3 |
3 files changed, 5 insertions, 6 deletions
diff --git a/wk6/pset/hello.c b/wk6/pset/hello.c deleted file mode 100644 index 927f7b6..0000000 --- a/wk6/pset/hello.c +++ /dev/null @@ -1,6 +0,0 @@ -#include <stdio.h> - -int main(void) -{ - printf("hello, world\n"); -} diff --git a/wk6/pset/sentimental-hello/hello.py b/wk6/pset/sentimental-hello/hello.py new file mode 100644 index 0000000..9ab3d2c --- /dev/null +++ b/wk6/pset/sentimental-hello/hello.py @@ -0,0 +1,2 @@ +answer = input("What's your name? ") +print(f"hello, {answer}") diff --git a/wk6/pset/sentimental-mario-more/mario.py b/wk6/pset/sentimental-mario-more/mario.py new file mode 100644 index 0000000..313d373 --- /dev/null +++ b/wk6/pset/sentimental-mario-more/mario.py @@ -0,0 +1,3 @@ +# import get_int +# get input using get_int +# |