print("😥")
print("\u20ac")
print("かわいい")
print("\U0001F622")
print("\N{euro sign}")
print("€")
"😥".encode("utf-8")
print("\a")
print("hello \n hello")
print("hello \\n hello")
print("c:\newfile.txt")
r"c:\users\user\newfile.txt"
'I enjoy "sarcasm"'
"'I think therefore I am' - someone"
"'I think therefore I am' - someone \"important\""
x = '\'I think therefore I am\' - someone "important"'
x
[1,2,3]
x = "I am Daniel\n" + "I am Sam\n" + "Sam I am\n"
print(x)
x = "I am Daniel\n" "I am Sam\n" "Sam I am\n"
print(x)
x = "I am Daniel\n" \
"I am Sam\n" \
"Sam I am\n"
print(x)
# below is a multiline string
# multiline comments would be nice, right?
# instead we use multiline strings
x = """\
I am Daniel
I am Sam
Sam I am
"That Sam-I-am"
That Sam-I-am!
I do not like
'That Sam-I-am'
Do you like
Green eggs and ham
"""
print(x)
help(len)
def myfirstfunc(x,y):
"""
this is the functions documentation written by me :-)
"""
return "bye"
help(myfirstfunc)
str(42)
"BLAH".lower()
"the quick brown fox jumped over the lazy dog".replace("the", "da")
"the quick brown fox jumped over the lazy dog".find("the")
"the quick brown fox jumped over the lazy dog".find("fox")
"the quick brown fox jumped over the lazy dog"[16:]
"*" * 4
"hello " * 10
"\n\t\r".isspace()
r"\n\t\r".isspace()
print(r"\n\t\r")
x = input("give me your password: ")
x