Make commands into strings | Sololearn: Learn to code for FREE!

0

Make commands into strings

How do i for example use append as a string. i am learning programming while making a note taking program. where i enter in an operator or a method like append and it gives examples tips..etc. here is my code so far attached. Thanks. https://code.sololearn.com/cIm41I6NmGd5/?ref=app

8/8/2018 6:49:49 PM

Tyler Watson

3 Answers

New Answer

+1

if x == "append": and remove str( from print

+1

you could also use a string and not a list. you can use \n inside the string for row change if you need it. so you can only print(append)

0

thanks here is my final code: https://code.sololearn.com/cIm41I6NmGd5/?ref=app