strings and type conversion

Run Settings
LanguagePython
Language Version
Run Command
'hi how u doing' #this is a string "this is also a string the quotes can be double" print(type("yo wat up 7 7 7 7 7")) username = 'timmybutts' password = 'butts123' long_string = ''' foop dadoop aloobi ''' #three single quotes can make a long string in many lines print(long_string) first_name = 'dylan' last_name = 'butts' full_name = first_name + ' ' + last_name # the quotes are to add a space print(full_name) #string concatenation which really means adding strings together print('hello' + ' jimmy') # you cant do hello + 5 because you can only add strings to strings not ints print(type(str(100))) #now 100 is a string not an int print(type(int(str(100)))) # now its converted to a string and back to an int a = str(100) b = int(a) c = type(b) print(c) # these four lines are the same thing as line 24
Editor Settings
Theme
Key bindings
Full width
Lines