+ 2

Outline different styles of coding used in Python string operations.

Python

6th Sep 2019, 2:58 AM
66:101:110:74:97:109:105:110
66:101:110:74:97:109:105:110 - avatar
2 Antworten
+ 2
Try this: 1.input>>>print("Python" * 3) output = PythonPythonPython 2.input>>>print("Python\n" * 3) output = Python Python Python 3.input>>>print("Python\nC" * 3) output = Python CPython CPython C 4.input>>>print("Python\nC" * 3 + "Python") output = Python CPython CPython CPython
6th Sep 2019, 3:01 AM
66:101:110:74:97:109:105:110
66:101:110:74:97:109:105:110 - avatar
+ 1
@Błack Jesus❕ I wanted to illustrate different ways on how to input Python string operations. If it helped you please upvote and also add another trick, if you have any?
6th Sep 2019, 12:27 PM
66:101:110:74:97:109:105:110
66:101:110:74:97:109:105:110 - avatar