Started playing with C++ in vscode

This commit is contained in:
ganome 2024-08-19 17:47:45 -06:00
parent 6829b0457a
commit 85f88496cc
Signed by untrusted user who does not match committer: Ganome
GPG Key ID: 944DE53336D81B83
3 changed files with 11 additions and 2 deletions

View File

@ -0,0 +1,6 @@
#include <iostream>
int main() {
std::cout << "Hello World!" << std::endl;
return 0;
}

4
python/lp3thw/Exercise05/ex5.py Normal file → Executable file
View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
myName = "Ganome"
myAge = 35
myHeight = 72
@ -15,4 +17,4 @@ print(f"His teeth are usuallyy {myTeeth} depending on the coffee.")
#tricky line
total = myAge + myHeight + myWeight
print(f"If i add {myAge}, {myHeight}, and {myWeight} I get {total}.")
print(f"If i add {myAge}, {myHeight}, and {myWeight} I get {total}.")

3
python/lp3thw/Exercise10/ex10.py Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env python3
tabbyCat = "\tI'm Tabbed in."
persianCat = "I'm Split\non a line."
backslashCat = "I'm \\ a \\ cat."
@ -12,4 +13,4 @@ I'll do a list:
print(tabbyCat)
print(persianCat)
print(backslashCat)
print(fatCat)
print(fatCat)