2k11dentusapa's blog

By 2k11dentusapa, history, 92 minutes ago, In English
#include <iostream>
#define if ;if(
#define then )
#define else ;else
using namespace std;
void print(auto d) {
  cout<<d;
}
auto input(auto &u) {
  cin>>u;
  return u;
}
int x;
int a;

int main() {
  a = input(x)
  if  x % 2 == 0 then
    print("Even")
  else
    print("Odd")
}
  • Vote: I like it
  • -5
  • Vote: I do not like it

»
67 minutes ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Learn c++ c++ is better than python python is just in only school but c++ is at evrywhere

  • »
    »
    59 minutes ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    yeah sure. Flask is used in a lot of websites, most AI is trained on pytorch/tensorflow, etc. Python has a lot more uses than you think.

    • »
      »
      »
      37 minutes ago, hide # ^ |
       
      Vote: I like it 0 Vote: I do not like it

      I would say to learn both of these, they compliment each other in the real world perfectly.

      • »
        »
        »
        »
        22 minutes ago, hide # ^ |
         
        Vote: I like it 0 Vote: I do not like it

        It's not really that c++ is better than python or vice versa. Each have uses of their own and nothing is really better than the other.

  • »
    »
    4 minutes ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    i think you mean the opposite