Brain simulation style dialy

#Reference_program_code_is_Python.
#Probably_incomplete_program_code.
#It_is_a_program_code-like_text.
#Please_forgive_any_typos_or_omissions.
#Please_read_while_considering.
#But_it_was_very_exciting!!
#Please_brain_simulation_start.

import time

import random

soul = 95 #(max=100)

feeling = 1

disturbance = 0

driving_range = 0 #(km)

run_speed = 0.017 #(ave_km/sec)

total_time = 0

run_time = 0

driving_time = 0

hour_time = 0

signal = 0

study_feeling = 0

think_count = 0

driving_range = run_speed * run_time

while driving_range >= 86.6:

 driving_range = 0

 print("driving & singing")

  soul -= 4

 disturbance = random uniform(1,4)

  soul -= disturbance

 while signal == 1:

  print("green signal")

  print("car start")

  time.sleep(90)

  total_time += 90

  run_time += 90

  signal = random uniform(0,1)

 else

  print("red signal")

  print("car stop")

  time sleep(48)

  print("green signal")

  print("car go")

  total_time += 48

  signal = random uniform(0,1)

 break

  feeling = random uniform(0,1)

 if soul <= 50 or feeling == 0:

   print("break & study")

    soul += 8

    think_count = 0

  while study_feeling == 100

    soul -= 0.1

    think_count += 1

   study_feeling = random
uniform(1,100)

  break

   total_time += think_count * 600

 break

break

 hour_time = total_time // 3600

 print(f"total time(hour) ={hour_time}")

 print("That was very fun!!!!")

#I_wrote_my_message_below.

ここから先は

108字

¥ 100

期間限定!PayPayで支払うと抽選でお得

この記事が気に入ったらチップで応援してみませんか?