diff --git a/2026/snippets/PR.json b/2026/snippets/PR.json new file mode 100644 index 0000000..d2045ef --- /dev/null +++ b/2026/snippets/PR.json @@ -0,0 +1,8 @@ +{ + "slug": "PR", + "author": "Martispro", + "title": "Haciendo un pull request", + "language": "python && c++", + "code": "#include #include using namespace std; int main(){srand(std::time(nullptr));unsigned secreto=(rand()%100)+1;unsigned intento; while(true){cout << 'introduce tu intento: '; cin intento; if (intento==secreto){cout<<'Ganaste';break;}cout<<(intento