Size: a a a

2021 February 02

R

Reffi_4 in Python KZ
В лёгкости
источник

R

Reffi_4 in Python KZ
Единственно что нелегко иногда из-за типизации, тайпинги тоже не очень
источник

nx

nks xd in Python KZ
Bauka Alimgazy
Пайтон очень легкий язык программирования. Я когда то перешел с с++, на пайтон и это было очень легко, хотя не привичный синтаксис, но теперь с пайтон на с++ х*й перейдешь
Говори за себя, дружок. Легко перешел на C# и C++ с Python
источник

nx

nks xd in Python KZ
Можешь ничего не отвечать мне, btw
источник

DD

Dias Dusembek in Python KZ
nks xd
Говори за себя, дружок. Легко перешел на C# и C++ с Python
Кто ты, воин?
источник

RQ

Rawan Qurmet in Python KZ
легко перешел с Python на перфокарты
источник

К

Кir in Python KZ
Rawan Qurmet
легко перешел с Python на перфокарты
Слабак! Я с кубитов перешёл на морзянку!
источник

C

Cyber Security in Python KZ
gcc lab1.c lab1_helper.c -o lab1
lab1.c:
источник

RQ

Rawan Qurmet in Python KZ
Был в Египте, читал надписи на пирамиде после Python
источник

C

Cyber Security in Python KZ
Cyber Security
gcc lab1.c lab1_helper.c -o lab1
lab1.c:
#include <stdio.h>
#include <stdlib.h>
#include "lab1_helper.h"
/*
* Calculates the sum of consecutive numbers from start
* to end (not including `end`).
* Parameters:
* start - an integer defining the starting value of the series
* end - an integer defining the stopping point of the series.
*
* Return: the total summation
*
*/
long int arithmeticSum(long int start, long int end) {
 long int total = 0;
 for (long int i = start; i < end; i++) {
   total += i;
 }
return total;
}

/*
* Takes in two integers as input.
* Calculates the arithmetic sum between those to integers.
* Mallocs an integer array, and writes the two integer inputs to the array.
*
* If the program doesn't receive exactly 2 arguments as input,
* the program should print "Invalid number of arguments.\n", and then exit with
* error code 1.
*
*/
int main(int argc, char* argv[]) {
 long int arg1 = strtol(argv[1], 0, 0);
 long int arg2 = strtol(argv[2], 0, 0);
 long int sum = arithmeticSum(arg1, arg2);
 printf("Arithmetic Sum between %d and %d is: %d.\n", arg1, arg2, sum);

 long int* arr = malloc(1000 * sizeof(int));
 *(arr ) = 0;
 *(arr + 1) = 100;

 free(arr);
 printf("Malloc'd data for arg1  %li and %li .\n", arr[0], arr[1]);

 return 0;}
источник

C

Cyber Security in Python KZ
Cyber Security
#include <stdio.h>
#include <stdlib.h>
#include "lab1_helper.h"
/*
* Calculates the sum of consecutive numbers from start
* to end (not including `end`).
* Parameters:
* start - an integer defining the starting value of the series
* end - an integer defining the stopping point of the series.
*
* Return: the total summation
*
*/
long int arithmeticSum(long int start, long int end) {
 long int total = 0;
 for (long int i = start; i < end; i++) {
   total += i;
 }
return total;
}

/*
* Takes in two integers as input.
* Calculates the arithmetic sum between those to integers.
* Mallocs an integer array, and writes the two integer inputs to the array.
*
* If the program doesn't receive exactly 2 arguments as input,
* the program should print "Invalid number of arguments.\n", and then exit with
* error code 1.
*
*/
int main(int argc, char* argv[]) {
 long int arg1 = strtol(argv[1], 0, 0);
 long int arg2 = strtol(argv[2], 0, 0);
 long int sum = arithmeticSum(arg1, arg2);
 printf("Arithmetic Sum between %d and %d is: %d.\n", arg1, arg2, sum);

 long int* arr = malloc(1000 * sizeof(int));
 *(arr ) = 0;
 *(arr + 1) = 100;

 free(arr);
 printf("Malloc'd data for arg1  %li and %li .\n", arr[0], arr[1]);

 return 0;}
#include "lab1_helper.h"
void helperFunction(int a, int b) {
printf("This is a *REALLY* important helper function 🎉🎉.\na: %d\nb: %d\n", a, b);
}
источник

C

Cyber Security in Python KZ
почему оутпут сегментэйшн фаулт?
источник

MR

Maksat Ramazanov in Python KZ
Rawan Qurmet
Был в Египте, читал надписи на пирамиде после Python
😄 .
источник

C

Cyber Security in Python KZ
Cyber Security
#include "lab1_helper.h"
void helperFunction(int a, int b) {
printf("This is a *REALLY* important helper function 🎉🎉.\na: %d\nb: %d\n", a, b);
}
lab1_helper.h
источник

MR

Maksat Ramazanov in Python KZ
Cyber Security
#include <stdio.h>
#include <stdlib.h>
#include "lab1_helper.h"
/*
* Calculates the sum of consecutive numbers from start
* to end (not including `end`).
* Parameters:
* start - an integer defining the starting value of the series
* end - an integer defining the stopping point of the series.
*
* Return: the total summation
*
*/
long int arithmeticSum(long int start, long int end) {
 long int total = 0;
 for (long int i = start; i < end; i++) {
   total += i;
 }
return total;
}

/*
* Takes in two integers as input.
* Calculates the arithmetic sum between those to integers.
* Mallocs an integer array, and writes the two integer inputs to the array.
*
* If the program doesn't receive exactly 2 arguments as input,
* the program should print "Invalid number of arguments.\n", and then exit with
* error code 1.
*
*/
int main(int argc, char* argv[]) {
 long int arg1 = strtol(argv[1], 0, 0);
 long int arg2 = strtol(argv[2], 0, 0);
 long int sum = arithmeticSum(arg1, arg2);
 printf("Arithmetic Sum between %d and %d is: %d.\n", arg1, arg2, sum);

 long int* arr = malloc(1000 * sizeof(int));
 *(arr ) = 0;
 *(arr + 1) = 100;

 free(arr);
 printf("Malloc'd data for arg1  %li and %li .\n", arr[0], arr[1]);

 return 0;}
смотря на этот синтаксис отфильтровываю лишний текст😂
источник

MM

Marat Mustafin in Python KZ
Rawan Qurmet
Был в Египте, читал надписи на пирамиде после Python
После питона научился читать мед.справки
источник

UN

User Name in Python KZ
Reffi_4
Единственно что нелегко иногда из-за типизации, тайпинги тоже не очень
Лично мне тайпинг в питоне нравится
источник

ЕЖ

Еркебулан Жумабаев... in Python KZ
Marat Mustafin
Еще есть?
)))😁👍🏼
источник

RQ

Rawan Qurmet in Python KZ
Reffi_4
Единственно что нелегко иногда из-за типизации, тайпинги тоже не очень
Типизация - это одно из лучших, что произошло с питоном. В ПХП нравится типизация
источник

R

Reffi_4 in Python KZ
Ну хз, хз. На вкус и цвет
источник