F' string formatting

python

#1

Wondering why my f’ string formatting code that runs in pycharm and idle won’t run in cloud9 python 3 environment. Do I need to turn something on or off?


#2

I am in the same metaphorical boat. If you find an answer, please post it here. I’ll do likewise.


#3

As a follow up, I notice in the IDE’s command prompt the python version used is 3.4.3. If I recall correctly, f-strings are not introduced until 3.6.


#4

Ok, well at least the .format longhand way seems to work just fine. I’m going to look around if there is a way or a schedule to upgrade to 3.6 or 3.7.