This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pyqrcode | |
def qrcode(): | |
q = pyqrcode.create(input()) | |
q.png('gen_qrcode.png',scale=7) | |
print('qrcode generated') | |
if __name__=='__main__': | |
qrcode() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
int main() | |
{ | |
int n , k ,w; | |
int i ,sum = 0; | |
int dollar; | |
scanf("%d %d %d",&k,&n,&w); | |
for(i = 1;i <= w;i++) | |
{ | |
sum = sum + i*k; |
NewerOlder