This commit is contained in:
2026-06-07 17:56:47 +00:00
parent 67b7ced5ba
commit 59aed7c741
8 changed files with 38 additions and 5 deletions
+9
View File
@@ -0,0 +1,9 @@
x = int(input("x: "))
y = int(input("y: "))
z = x / y
print(f"{z:.50f}") #incantation
+8 -2
View File
@@ -1,3 +1,9 @@
for _ i in range(3):
print("Meow")
def main():
for i in range(3):
meow()
def meow():
print("meow")
if __name__ == "__main__":
main()
+3
View File
@@ -3,13 +3,16 @@ words = set()
def check(word):
return word.lower() in words
def load(dictionary):
with open(dictionary) as file:
words.update(file.read().splitlines())
return True
def size():
return len(words)
def unload():
return True
+3 -1
View File
@@ -1 +1,3 @@
print ("Hello World")
answer = input("What's your name? ")
print(f"hello, {answer}")
+3
View File
@@ -0,0 +1,3 @@
before = input("Before: ")
after = before.upper()
print(f"After: {after}")
Executable
BIN
View File
Binary file not shown.
+10
View File
@@ -0,0 +1,10 @@
#include <stdio.h>
#include <cs50.h>
int main(void)
{
string answer = get_string("What's your name? ");
printf("hello, %s\n, answer);
}
Executable
BIN
View File
Binary file not shown.