You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
767 B

# import requests
# import json
# from pprint import pprint
# import csv
# import os
# import glob
# from time import sleep
# #评论接口
# url = 'https://www.educoder.net//users/liuq1016/classrooms'
# headers={
# 'Referer':'https://www.educoder.net/',
# 'cookie':'autologin_trustie=3b5b3cee750491d7125ffad4983c8921d9514fe4; _educoder_session=78309f003e92566c24fe5b1090c0a80e',
# 'user-agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0'
# }
# response = requests.get(url=url,headers=headers,)
# #response_text = response.json()['comments']
# print(response.text)
try:
n=0
n=input('jnn')
def p(n):
return n**10
p(n)
except:
print("bjbugbub")