mardi 19 octobre 2021

Is there a better way to write this piece of code in Python? [closed]

I'm fairly new to python and I saw this piece of code on the internet and I wondered if I can write it different somehow. Is there a better way to write this field of code in python:

names1 += random if names1 + random <= 5 else random - 6



Aucun commentaire:

Enregistrer un commentaire