New course! Every coder should learn Generative AI!
Try a free lesson0
Hey! If I wanted to type a word that has an apostrophe like: what's up how would I do it? Because print('what's up') won't work... since there's two apostrophes!
3 Answers
+ 1
\'
+ 1
print('what\'s up')
+ 1
use it
print('''what's up''')