Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

FreQUENCY

Member
  • Content Count

    167
  • Joined

  • Last visited

Awards


This user doesn't have any awards

About FreQUENCY

  • Title
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. FreQUENCY

    kali linux weird issue

    @Mad153 I used TOR,i will add logs tommorow,VMWARE pro 15 64bit,cosmote,Greece
  2. FreQUENCY

    kali linux weird issue

    If i connect to a vpn i can update the OS but if i connect with my main ip,without VPN it wont. It can access the internet but can not update anything! Any help?
  3. FreQUENCY

    Python3 date calulation

    Done! import time from datetime import date, timedelta INPUTED_DATE=input() while INPUTED_DATE!="END" and INPUTED_DATE!="end": new_date=INPUTED_DATE[:2]+INPUTED_DATE[3:5]+INPUTED_DATE[6:] #print (new_date) t=time.strptime(new_date,'%d%m%Y') formated_date=date(t.tm_year,t.tm_mon,t.tm_mday)+timedelta(1) print (formated_date.strftime('%d-%m-%Y')) INPUTED_DATE=input()
  4. FreQUENCY

    Python3 date calulation

    How can i calculate the next day in python? The current date is easy to be calculated with datetime module. But i want the user to enter the date,not to parse the system date. Any ideas?
  5. FreQUENCY

    PC part eshops question

    Hello! Do you guys know any eshops that sell pc parts in "good" prices and have the ability to ship the items to a differend country that the one that is in the business invoice? Thanks!
  6. FreQUENCY

    1000euro pc

    Thank you all so much! I will try to buy those from 1-2 places max. Since i dont want to fak my shipping fees and i want an invoice as well
  7. FreQUENCY

    1000euro pc

    @hconverse02 I am pretty sure a ryzen 1800X can handle it
  8. FreQUENCY

    1000euro pc

    @hconverse02 I only play CSGO and i want to stream it as well.
  9. FreQUENCY

    1000euro pc

    Ya boi will build this beast.I think i will go with team red this year.I want to make it with RGB and stuff. Any recommendations? 144hz monitor as well included in the price! Thank you!!!!
  10. FreQUENCY

    Card verification

    done! def checker(s): list_of_numbers=[] string_to_use="" if("-" in s): list_of_numbers=s.split("-") for character in list_of_numbers: string_to_use+=character string_return=string_to_use string_to_use="" return string_return if(" " in s): list_of_numbers=s.split(" ") for character in list_of_numbers: string_to_use+=character string_return=string_to_use string_to_use="" return string_return if("," in s): list_of_numbers=s.split(",") for character in list_of_numbers: string_to_use+=character string_return=string_to_use string_to_use="" return string_return if("*" in s): list_of_numbers=s.split("*") for character in list_of_numbers: string_to_use+=character string_return=string_to_use string_to_use="" return string_return if("." in s): list_of_numbers=s.split(".") for character in list_of_numbers: string_to_use+=character string_return=string_to_use string_to_use="" return string_return else: return s credit_card=[] credit_card_sum=[] credit_card_sum_digit=[] credit_digits_sum=0 user1_input=input() user_input=checker(user1_input) check=False while user1_input!="end" and user1_input!="END": user_input=checker(user1_input) if(len(user1_input)>16): if(len(user1_input)!=19): print("False") user1_input=input() continue elif(user1_input[4].isdigit() or user1_input[9].isdigit() or user1_input[14].isdigit()): print("False") user1_input=input() continue if( not user_input.isdigit()): print("False") elif(user_input.isdigit() and len(user_input)!=16): print("False") else: credit_card_int=[int(x) for x in user_input] if credit_card_int[0]<4 or credit_card_int[0]>7: print ("False") else: for i in range(0,len(credit_card_int),2): credit_card_int[i] = credit_card_int[i]*2 if credit_card_int[i]>=10:credit_card_int[i]= (int(str(credit_card_int[i])[0])+int(str(credit_card_int[i])[1])) if (sum(credit_card_int) % 10 ==0): print ("True") else: print ("False") user1_input=input()
  11. FreQUENCY

    Card verification

    def digit_sum(LIST): for i in range(len(LIST)): value = str(LIST[i]) digits = [int(x) for x in value] credit_card.append(sum(digits)) def checker(s): list_of_numbers=[] string_to_use="" if("-" in s): list_of_numbers=s.split("-") for character in list_of_numbers: string_to_use+=character string_return=string_to_use string_to_use="" return string_return if(" " in s): list_of_numbers=s.split(" ") for character in list_of_numbers: string_to_use+=character string_return=string_to_use string_to_use="" return string_return if("," in s): list_of_numbers=s.split(",") for character in list_of_numbers: string_to_use+=character string_return=string_to_use string_to_use="" return string_return if("*" in s): list_of_numbers=s.split("*") for character in list_of_numbers: string_to_use+=character string_return=string_to_use string_to_use="" return string_return if("." in s): list_of_numbers=s.split(".") for character in list_of_numbers: string_to_use+=character string_return=string_to_use string_to_use="" return string_return else:return s credit_card=[] credit_card_sum=[] credit_card_sum_digit=[] credit_digits_sum=0 user1_input=input() user_input=checker(user1_input) while user1_input!="end" and user1_input!="END": user_input=checker(user1_input) if( not user_input.isdigit()): print("False") elif(user_input.isdigit() and len(user_input)>16): print("False") else: credit_card_int=[int(x) for x in user_input] if credit_card_int[0]<=3 or credit_card_int[0]>=7: print ("False") else: for i in range(0,len(credit_card_int),2): credit_card_int[i] = credit_card_int[i]*2 digit_sum(credit_card_int) for i in range(len(credit_card)): credit_digits_sum=credit_digits_sum+credit_card[i] if credit_digits_sum % 10 ==0: print ("True") else: print ("False") user1_input=input() Changed to this!. Outputs fail bool when entering 5497 3571 7063 2130 @reniat
  12. FreQUENCY

    Card verification

    The other characters for example "-" are acceptable in this case. So it must continue,not output false!
  13. FreQUENCY

    Card verification

    Its more complicated from this
  14. FreQUENCY

    Card verification

    @mshaugh Yea,what if the user enters 5497-3571-7063-2130 .Thats a valid credit card. I must get True for output
  15. FreQUENCY

    python list question

    @CPBuchholz @Hugs12343 def digit_sum(LIST): for i in range(len(LIST)): value = str(LIST[i]) digits = [int(x) for x in value] credit_card.append(sum(digits)) Done ;),with a list append as well
×