19
dotPy
3y

Wtf? So far from the word Pythonic...

Comments
  • 0
    @SoulSkrix I know right and yet they still do it...
  • 5
    He looks like he has a C/C++ background.
  • 0
    @JKyll yeah but this is python, if it was C/C++ i wouldn’t complaint
  • 0
    @savethecode I know, in just pointing out that by the way the coffee is structured and commented it looks like whoever wrote it has C/C++ background and hasn't learned the Python way.
  • 4
    @JKyll you must have superpowers to be able to tell how their coffee is structured
  • 1
    @Gnu-Not-Unix yeah, apparently not enough to notice my phone changing what I write, what the hell Android since when is code anything like coffee?!
  • 0
    Gotta love the comments... As if he'd done everything else right 😂
  • 0
    that looks dumb af
  • 2
    x = input('Enter value of x: ')
    y = input('Enter value of y: ')

    Print('Value of x after swapping: {}'.format(y))
    Print('Value of y after swapping: {}'.format(x))
  • 2
    y, x = ( input ( "give me x:" ), input ( "give me y:") )
    print ( "x:", x )
    print ( "y:", y )
  • 1
    I can overcomplicate things too...
Add Comment