Post

Python Developer
Python Developer@PythonDvz·
What will be the output?? Comment down your answers in comment section.👨🏻‍💻👨🏻‍💻
Python Developer tweet media
English
4
4
22
5.9K
Premakumar Thevathasan (Prem Iyer)
@PythonDvz Output: print('v1={0}, v2={1}'.format(*values)) The format method replaces {0} with the first element of values ('P') and {1} with the second element of values (the list ['Y', 'T']). Thus, the output will be: Output v1=P, v2=['Y', 'T'] For More =>>
Premakumar Thevathasan (Prem Iyer) tweet media
English
0
0
1
32
Paylaş