Concatenate string and int in python 3.4

前端 未结 6 2079
青春惊慌失措
青春惊慌失措 2021-01-06 05:27

I\'m new to Python, so I\'ve been running through my own set of exercises to simply start memorizing basic functions and syntax. I\'m using Pycharm IDE and Python 3.4. I\'ve

6条回答
  •  北海茫月
    2021-01-06 06:01

    i think this is pretty cool way to Concatenate string and int in python

    print (f"Type string: {123}")
    print (f"Concatenate strings and ints {10}")
    

提交回复
热议问题